@Module public class ContextContainer extends java.lang.Object implements java.io.Serializable, ScopeRemoveListener
Constructor and Description |
---|
ContextContainer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T> T |
get(Contextual<T> bean) |
java.lang.Object |
get(java.lang.Object id) |
BeanManager |
getBeanManager() |
<T> void |
put(Contextual<T> bean,
java.lang.Object id,
T value,
CreationalContext<T> env) |
void |
removeEvent(java.lang.Object scope,
java.lang.String name) |
public java.lang.Object get(java.lang.Object id)
public <T> T get(Contextual<T> bean)
public <T> void put(Contextual<T> bean, java.lang.Object id, T value, CreationalContext<T> env)
public void removeEvent(java.lang.Object scope, java.lang.String name)
removeEvent
in interface ScopeRemoveListener
public BeanManager getBeanManager()
public void close()