public abstract class AbstractManagedContext extends AbstractContext implements ManagedContext
| Constructor and Description |
|---|
AbstractManagedContext(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.
|
void |
invalidate()
Mark the context as due for destruction when deactivate is called.
|
boolean |
isActive()
Determines if the context object is active.
|
boolean |
isValid() |
protected void |
setActive(boolean active) |
destroy, destroy, get, get, getBeanStore, getContextual, getId, getServiceRegistryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroypublic boolean isActive()
Contextprotected void setActive(boolean active)
public void invalidate()
ManagedContextinvalidate in interface ManagedContextpublic void activate()
ManagedContextactivate in interface ManagedContextpublic boolean isValid()
public void deactivate()
ManagedContextdeactivate in interface ManagedContextpublic void cleanup()
cleanup in class AbstractContextCopyright © 2013 Seam Framework. All Rights Reserved.