railo.runtime.type.scope.session
Class SessionDatasource
java.lang.Object
railo.runtime.type.util.StructSupport
railo.runtime.type.scope.storage.StorageScopeImpl
railo.runtime.type.scope.storage.StorageScopeDatasource
railo.runtime.type.scope.session.SessionDatasource
- All Implemented Interfaces:
- Serializable, Cloneable, Map, Dumpable, Castable, Collection, Iteratorable, Scope, Session, SessionPlus, StorageScope, SharedScope, Sizeable, Struct
public class SessionDatasource
- extends StorageScopeDatasource
- implements SessionPlus
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Fields inherited from interface railo.runtime.type.Scope |
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_VARIABLES |
Methods inherited from class railo.runtime.type.scope.storage.StorageScopeImpl |
_getId, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clear, compareTo, compareTo, compareTo, compareTo, containsKey, containsValue, decode, encode, get, get, getLastAccess, getMaxInactiveInterval, getStorage, getTimeSpan, getType, getTypeAsString, hasChanges, hasContent, initialize, isExpired, isInitalized, keyIterator, keys, keysAsString, lastVisit, pureKeys, release, remove, removeEL, set, setEL, setMaxInactiveInterval, setStorage, size, sizeOf, toDumpData, touch, values |
Methods inherited from class railo.runtime.type.util.StructSupport |
clone, containsKey, containsKey, entrySet, equals, get, get, get, invalidKey, isEmpty, iterator, keySet, put, putAll, remove, set, setEL, toString, valueIterator |
Methods inherited from interface railo.runtime.type.Collection |
clear, clone, containsKey, containsKey, get, get, get, get, keys, keysAsString, remove, removeEL, set, set, setEL, setEL, size |
Methods inherited from interface railo.runtime.op.Castable |
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
getInstance
public static SessionPlus getInstance(String datasourceName,
PageContext pc,
Log log)
throws PageException
- load an new instance of the client datasource scope
- Parameters:
datasourceName
- appName
- pc
- checkExpires
-
- Returns:
- client datasource scope
- Throws:
PageException
getInstance
public static SessionPlus getInstance(String datasourceName,
PageContext pc,
Log log,
SessionPlus defaultValue)
hasInstance
public static boolean hasInstance(String datasourceName,
PageContext pc)
duplicate
public Collection duplicate(boolean deepCopy)
- Specified by:
duplicate
in interface Collection
- See Also:
Collection.duplicate(boolean)
Copyright © 2012 Railo