railo.runtime.type.scope.client
Class ClientDatasource

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.client.ClientDatasource
All Implemented Interfaces:
Serializable, Cloneable, Map, Dumpable, Castable, Collection, ForEachIteratorable, Iteratorable, Objects, Client, Scope, SharedScope, StorageScope, UserScope, Sizeable, Struct

public class ClientDatasource
extends StorageScopeDatasource
implements Client

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
PREFIX
 
Fields inherited from class railo.runtime.type.scope.storage.StorageScopeImpl
CFID, CFTOKEN, HITCOUNT, LASTVISIT, SESSION_ID, TIMECREATED, URLTOKEN
 
Fields inherited from interface railo.runtime.type.scope.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_VAR, SCOPE_VARIABLES
 
Fields inherited from interface railo.runtime.type.Struct
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
 
Method Summary
 Collection duplicate(boolean deepCopy)
           
static Client getInstance(String datasourceName, PageContext pc, Log log)
          load an new instance of the client datasource scope
static Client getInstance(String datasourceName, PageContext pc, Log log, Client defaultValue)
           
 
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, entryIterator, generateToken, get, get, getCreated, getLastAccess, getMaxInactiveInterval, getStorage, getTimeSpan, getType, getTypeAsString, hasChanges, hasContent, initialize, isExpired, isInitalized, keyIterator, keys, keysAsStringIterator, lastVisit, pureKeys, release, release, remove, removeEL, resetEnv, set, setEL, setMaxInactiveInterval, setStorage, size, sizeOf, toDumpData, touch, valueIterator, values, verifyToken
 
Methods inherited from class railo.runtime.type.util.StructSupport
call, callWithNamedValues, clone, containsKey, containsKey, entrySet, equals, get, get, get, get, get, getIterator, hashCode, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface railo.runtime.type.scope.Client
lastVisit, pureKeys
 
Methods inherited from interface railo.runtime.type.scope.UserScope
resetEnv
 
Methods inherited from interface railo.runtime.type.scope.storage.StorageScope
generateToken, getCreated, getLastAccess, getMaxInactiveInterval, getStorage, getStorageType, getTimeSpan, isExpired, setMaxInactiveInterval, setStorage, store, touch, unstore, verifyToken
 
Methods inherited from interface railo.runtime.type.scope.SharedScope
touchAfterRequest, touchBeforeRequest
 
Methods inherited from interface railo.runtime.type.scope.Scope
getType, getTypeAsString, initialize, isInitalized, release, release
 
Methods inherited from interface railo.runtime.type.Collection
clear, clone, containsKey, containsKey, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size
 
Methods inherited from interface railo.runtime.type.Iteratorable
entryIterator, keyIterator, keysAsStringIterator, valueIterator
 
Methods inherited from interface railo.runtime.type.ForEachIteratorable
getIterator
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface railo.runtime.type.Sizeable
sizeOf
 
Methods inherited from interface railo.runtime.type.Objects
call, callWithNamedValues, get, get, set, setEL
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.op.Castable
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
 

Method Detail

getInstance

public static Client getInstance(String datasourceName,
                                 PageContext pc,
                                 Log log)
                          throws PageException
load an new instance of the client datasource scope

Parameters:
datasourceName -
appName -
pc -
log -
Returns:
client datasource scope
Throws:
PageException

getInstance

public static Client getInstance(String datasourceName,
                                 PageContext pc,
                                 Log log,
                                 Client defaultValue)

duplicate

public Collection duplicate(boolean deepCopy)
Specified by:
duplicate in interface Collection


Copyright © 2012 Railo