railo.runtime.type.scope
Class ServerImpl
java.lang.Object
railo.runtime.type.util.StructSupport
railo.runtime.type.StructImpl
railo.runtime.type.scope.ScopeSupport
railo.runtime.type.scope.ServerImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Map, Dumpable, Castable, Collection, ForEachIteratorable, Iteratorable, Objects, Scope, Server, SharedScope, Sizeable, Struct
public final class ServerImpl
- extends ScopeSupport
- implements Server, SharedScope
Server Scope
- 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 |
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 class railo.runtime.type.StructImpl |
clear, containsKey, containsValue, copy, duplicate, entryIterator, equals, g, g, get, get, hashCode, keyIterator, keys, keysAsStringIterator, remove, removeEL, size, valueIterator, values |
Methods inherited from class railo.runtime.type.util.StructSupport |
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 |
Methods inherited from interface railo.runtime.type.Collection |
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, 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 |
ServerImpl
public ServerImpl(PageContext pc)
- constructor of the server scope
- Parameters:
sn
-
reload
public void reload()
- Specified by:
reload
in interface Server
reload
public void reload(PageContext pc)
set
public Object set(Collection.Key key,
Object value)
throws PageException
- Description copied from interface:
Collection
- sets a value to the collection
- Specified by:
set
in interface Collection
- Overrides:
set
in class StructImpl
- Parameters:
key
- key of the new valuevalue
- value to set
- Returns:
- value setted
- Throws:
PageException
setEL
public Object setEL(Collection.Key key,
Object value)
- Description copied from interface:
Collection
- sets a value to the collection, if key doesn't exist, dont throw a exception, returns null
- Specified by:
setEL
in interface Collection
- Overrides:
setEL
in class StructImpl
- Parameters:
key
- key of the value to getvalue
- value to set
- Returns:
- value on key position or null
touchBeforeRequest
public void touchBeforeRequest(PageContext pc)
- Description copied from interface:
SharedScope
- Initalize Scope only for this request, scope was already used
- Specified by:
touchBeforeRequest
in interface SharedScope
- Parameters:
pc
- Page Context
touchAfterRequest
public void touchAfterRequest(PageContext pc)
- Description copied from interface:
SharedScope
- release scope only for current request, scope will be used again
- Specified by:
touchAfterRequest
in interface SharedScope
Copyright © 2012 Railo