railo.runtime.type.scope
Interface SharedScope
- All Superinterfaces:
- Castable, Cloneable, Collection, Dumpable, ForEachIteratorable, Iteratorable, Map, Objects, Scope, Serializable, Sizeable, Struct
- All Known Subinterfaces:
- Client, Cookie, Session, StorageScope, UserScope
- All Known Implementing Classes:
- ApplicationImpl, ClientCache, ClientCookie, ClientDatasource, ClientFile, ClientMemory, CookieImpl, JSession, ServerImpl, SessionCache, SessionCookie, SessionDatasource, SessionFile, SessionMemory, StorageScopeCache, StorageScopeCookie, StorageScopeDatasource, StorageScopeFile, StorageScopeImpl, StorageScopeMemory
public interface SharedScope
- extends Scope
scope that is used for multiple requests, attention scope can be used from muliple threads ad same state, make no internal state!
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
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 |
Methods inherited from interface railo.runtime.type.Collection |
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size |
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.op.Castable |
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo |
touchBeforeRequest
void touchBeforeRequest(PageContext pc)
- Initalize Scope only for this request, scope was already used
- Parameters:
pc
- Page Context
touchAfterRequest
void touchAfterRequest(PageContext pc)
- release scope only for current request, scope will be used again
Copyright © 2012 Railo