public class BoundRequestContextImpl extends AbstractBoundContext<Map<String,Object>> implements BoundRequestContext
| Constructor and Description |
|---|
BoundRequestContextImpl(String contextId) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate the Context.
|
boolean |
associate(Map<String,Object> storage)
Associate the context with the storage (for this thread).
|
void |
deactivate()
Deactivate the Context, destroying any instances if the context is invalid.
|
Class<? extends Annotation> |
getScope()
Get the scope type of the context object.
|
void |
invalidate()
Mark the context as due for destruction when deactivate is called.
|
cleanup, dissociate, getBeanStore, setBeanStoreisActive, isValid, setActivecheckContextInitialized, destroy, destroy, get, get, getContextual, getId, getServiceRegistryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroydissociatepublic BoundRequestContextImpl(String contextId)
public Class<? extends Annotation> getScope()
Contextpublic boolean associate(Map<String,Object> storage)
BoundContextBoundContext.associate(Object) has been called, further calls
to BoundContext.associate(Object) will be ignored, until the context has been subsequently BoundContext.dissociate(Object) from
the storage.associate in interface BoundContext<Map<String,Object>>storage - the external storagepublic void activate()
ManagedContextactivate in interface ManagedContextactivate in class AbstractBoundContext<Map<String,Object>>public void deactivate()
ManagedContextdeactivate in interface ManagedContextdeactivate in class AbstractBoundContext<Map<String,Object>>public void invalidate()
ManagedContextinvalidate in interface ManagedContextinvalidate in class AbstractManagedContextCopyright © 2015. All Rights Reserved.