public abstract class AbstractManagedContext extends AbstractContext implements org.jboss.weld.context.ManagedContext
| Constructor and Description |
|---|
AbstractManagedContext(String contextId,
boolean multithreaded) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
void |
invalidate() |
boolean |
isActive() |
boolean |
isValid() |
protected void |
removeState()
The managed state should be always removed during deactivation.
|
protected void |
setActive(boolean active) |
cleanup, destroy, destroy, get, get, getBeanStore, getContextual, getId, getServiceRegistry, checkContextInitializedpublic AbstractManagedContext(String contextId, boolean multithreaded)
public boolean isActive()
isActive in interface javax.enterprise.context.spi.Contextprotected void setActive(boolean active)
public void invalidate()
invalidate in interface org.jboss.weld.context.ManagedContextpublic void activate()
activate in interface org.jboss.weld.context.ManagedContextpublic boolean isValid()
public void deactivate()
deactivate in interface org.jboss.weld.context.ManagedContextprotected void removeState()
deactivate() method. E.g. AbstractConversationContext.destroy(Object).Copyright © 2017. All rights reserved.