public class EjbRequestContextImpl extends AbstractBoundContext<javax.interceptor.InvocationContext> implements EjbRequestContext
| Constructor and Description |
|---|
EjbRequestContextImpl(String contextId) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate the Context.
|
boolean |
associate(javax.interceptor.InvocationContext ctx)
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() |
cleanup, dissociate, getBeanStore, setBeanStoreinvalidate, isActive, isValid, removeState, setActivedestroy, destroy, get, get, getContextual, getId, getServiceRegistry, checkContextInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvalidatedissociatepublic EjbRequestContextImpl(String contextId)
public Class<? extends Annotation> getScope()
getScope in interface javax.enterprise.context.spi.Contextpublic boolean associate(javax.interceptor.InvocationContext ctx)
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<javax.interceptor.InvocationContext>ctx - the external storagepublic void activate()
ManagedContextactivate in interface ManagedContextactivate in class AbstractBoundContext<javax.interceptor.InvocationContext>public void deactivate()
ManagedContextdeactivate in interface ManagedContextdeactivate in class AbstractBoundContext<javax.interceptor.InvocationContext>Copyright © 2016. All rights reserved.