public abstract class AbstractBoundContext<S> extends AbstractManagedContext implements BoundContext<S>
Constructor and Description |
---|
AbstractBoundContext(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, setActive
destroy, destroy, get, get, getContextual, getId, getServiceRegistry
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associate
destroy
protected BoundBeanStore getBeanStore()
getBeanStore
in class AbstractContext
protected void setBeanStore(BoundBeanStore beanStore)
beanStore
- The bean storepublic void cleanup()
cleanup
in class AbstractManagedContext
public void activate()
ManagedContext
activate
in interface ManagedContext
activate
in class AbstractManagedContext
public void deactivate()
ManagedContext
deactivate
in interface ManagedContext
deactivate
in class AbstractManagedContext
public boolean dissociate(S storage)
BoundContext
dissociate
in interface BoundContext<S>
storage
- the external storageCopyright © 2013 Seam Framework. All Rights Reserved.