public final class ApplicationImpl extends ScopeSupport implements Application, SharedScope
Collection.Key
TYPE_UNDEFINED
SCOPE_APPLICATION, SCOPE_ARGUMENTS, SCOPE_CALLER, SCOPE_CGI, SCOPE_CLIENT, SCOPE_CLUSTER, SCOPE_COOKIE, SCOPE_COUNT, SCOPE_FORM, SCOPE_LOCAL, SCOPE_REQUEST, SCOPE_SERVER, SCOPE_SESSION, SCOPE_UNDEFINED, SCOPE_URL, SCOPE_VAR, SCOPE_VARIABLES
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
Constructor and Description |
---|
ApplicationImpl()
default constructor of the session scope
|
Modifier and Type | Method and Description |
---|---|
Map |
getApplicationSettings()
undocumented Feature in ACF
|
long |
getCreated() |
long |
getLastAccess() |
long |
getTimeSpan() |
boolean |
isExpired() |
void |
setLastAccess(long lastAccess) |
void |
touch()
sets the last access timestamp to now
|
void |
touchAfterRequest(PageContext pc)
release scope only for current request, scope will be used again
|
void |
touchBeforeRequest(PageContext pc)
Initalize Scope only for this request, scope was already used
|
_getId, getType, getTypeAsString, initialize, isInitalized, release, release, sizeOf, toDumpData, toDumpData
clear, containsKey, containsValue, copy, duplicate, entryIterator, equals, g, g, get, get, hashCode, keyIterator, keys, keysAsStringIterator, remove, remove, removeEL, set, setEL, size, valueIterator, values
call, callWithNamedValues, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clone, compareTo, compareTo, compareTo, compareTo, containsKey, containsKey, entrySet, get, get, get, get, get, getIterator, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, toString
getType, getTypeAsString, initialize, isInitalized, release, release
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size
entryIterator, keyIterator, keysAsStringIterator, valueIterator
getIterator
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
call, callWithNamedValues, get, get, set, setEL
toDumpData
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
public ApplicationImpl()
public long getLastAccess()
getLastAccess
in interface Application
public long getTimeSpan()
getTimeSpan
in interface Application
public void touchBeforeRequest(PageContext pc)
SharedScope
touchBeforeRequest
in interface SharedScope
pc
- Page Contextpublic void touchAfterRequest(PageContext pc)
SharedScope
touchAfterRequest
in interface SharedScope
public boolean isExpired()
isExpired
in interface Application
public void setLastAccess(long lastAccess)
lastAccess
- the lastAccess to setpublic void touch()
Application
touch
in interface Application
public Map getApplicationSettings()
public long getCreated()
getCreated
in interface Application
Copyright © 2015 Lucee