public abstract class AbstractBoundContext<S> extends AbstractManagedContext implements BoundContext<S>
| Constructor and Description |
|---|
AbstractBoundContext(String contextId,
boolean multithreaded) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate the Context.
|
void |
cleanup() |
void |
deactivate()
Deactivate the Context, destroying any instances if the context is invalid.
|
boolean |
dissociate(S storage)
Dissociate the context from the storage (for this thread).
|
protected BoundBeanStore |
getBeanStore()
Gets the bean store
|
protected void |
setBeanStore(BoundBeanStore beanStore)
Sets the bean store
|
invalidate, isActive, isValid, removeState, setActivedestroy, destroy, get, get, getContextual, getId, getServiceRegistry, checkContextInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociatedestroypublic AbstractBoundContext(String contextId, boolean multithreaded)
protected BoundBeanStore getBeanStore()
getBeanStore in class AbstractContextprotected void setBeanStore(BoundBeanStore beanStore)
beanStore - The bean storepublic void cleanup()
cleanup in class AbstractContextpublic void activate()
ManagedContextactivate in interface ManagedContextactivate in class AbstractManagedContextpublic void deactivate()
ManagedContextdeactivate in interface ManagedContextdeactivate in class AbstractManagedContextpublic boolean dissociate(S storage)
BoundContextdissociate in interface BoundContext<S>storage - the external storageCopyright © 2015. All Rights Reserved.