public class HttpRequestContextImpl extends AbstractBoundContext<ServletRequest> implements HttpRequestContext
| Constructor and Description |
|---|
HttpRequestContextImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate the Context.
|
boolean |
associate(ServletRequest request)
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.
|
cleanup, dissociate, getBeanStore, setBeanStoreinvalidate, isActive, setActivedestroy, get, get, getContextual, getId, getServiceRegistryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdissociateinvalidatepublic boolean associate(ServletRequest request)
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<ServletRequest>request - the external storagepublic void activate()
ManagedContextactivate in interface ManagedContextactivate in class AbstractBoundContext<ServletRequest>public void deactivate()
ManagedContextdeactivate in interface ManagedContextdeactivate in class AbstractBoundContext<ServletRequest>public Class<? extends Annotation> getScope()
ContextCopyright © 2013 Seam Framework. All Rights Reserved.