@Module public abstract class AbstractScopeContext extends java.lang.Object
| Constructor and Description |
|---|
AbstractScopeContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeContext() |
protected <T> T |
create(<any> bean,
<any> env) |
protected abstract ContextContainer |
createContextContainer() |
<T> T |
get(<any> bean)
Returns the current instance, if it exists.
|
<T> T |
get(<any> bean,
<any> creationalContext) |
protected abstract ContextContainer |
getContextContainer() |
abstract java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the scope annotation type.
|
abstract boolean |
isActive()
Returns true if the scope is currently active.
|
public static final L10N L
public abstract boolean isActive()
public abstract java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
public <T> T get(<any> bean)
public <T> T get(<any> bean,
<any> creationalContext)
protected <T> T create(<any> bean,
<any> env)
protected abstract ContextContainer getContextContainer()
protected abstract ContextContainer createContextContainer()
public void closeContext()