railo.runtime.type.scope.session
Class SessionDatasource

java.lang.Object
  extended by railo.runtime.type.util.StructSupport
      extended by railo.runtime.type.scope.storage.StorageScopeImpl
          extended by railo.runtime.type.scope.storage.StorageScopeDatasource
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface railo.runtime.type.Collection
Collection.Key
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class railo.runtime.type.scope.storage.StorageScopeDatasource
EXPIRES, PREFIX
 
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
 
Fields inherited from interface railo.runtime.type.Struct
TYPE_LINKED, TYPE_REGULAR, TYPE_SYNC, TYPE_WEAKED
 
Fields inherited from interface railo.runtime.type.scope.storage.StorageScope
HITCOUNT, LASTVISIT, SESSION_ID, TIMECREATED, URLTOKEN
 
Method Summary
 Collection duplicate(boolean deepCopy)
           
static SessionPlus getInstance(String datasourceName, PageContext pc, Log log)
          load an new instance of the client datasource scope
static SessionPlus getInstance(String datasourceName, PageContext pc, Log log, SessionPlus defaultValue)
           
static boolean hasInstance(String datasourceName, PageContext pc)
           
 
Methods inherited from class railo.runtime.type.scope.storage.StorageScopeDatasource
getDatasourceName, getStorageType, store, touchAfterRequest, touchBeforeRequest, unstore
 
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 class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface railo.runtime.type.scope.SessionPlus
_getId
 
Methods inherited from interface railo.runtime.type.scope.Session
getLastAccess, getTimeSpan, isExpired, touch
 
Methods inherited from interface railo.runtime.type.SharedScope
touchAfterRequest, touchBeforeRequest
 
Methods inherited from interface railo.runtime.type.Scope
getType, getTypeAsString, initialize, isInitalized, release
 
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.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.type.Iteratorable
iterator, keyIterator, valueIterator
 
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
 

Method Detail

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