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) |
checkContextInitialized, cleanup, destroy, destroy, get, get, getBeanStore, getContextual, getId, getServiceRegistry
public AbstractManagedContext(String contextId, boolean multithreaded)
public boolean isActive()
isActive
in interface javax.enterprise.context.spi.Context
protected void setActive(boolean active)
public void invalidate()
invalidate
in interface org.jboss.weld.context.ManagedContext
public void activate()
activate
in interface org.jboss.weld.context.ManagedContext
public boolean isValid()
public void deactivate()
deactivate
in interface org.jboss.weld.context.ManagedContext
protected void removeState()
deactivate()
method. E.g. AbstractConversationContext.destroy(Object)
.Copyright © 2017. All rights reserved.