@Module public class RequestContext extends AbstractScopeContext
| Constructor and Description |
|---|
RequestContext() |
| Modifier and Type | Method and Description |
|---|---|
static void |
begin() |
protected ContextContainer |
createContextContainer() |
static void |
end() |
protected ContextContainer |
getContextContainer() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the scope annotation type.
|
boolean |
isActive()
Returns true if the scope is currently active.
|
closeContext, create, get, getpublic static void begin()
public static void end()
public boolean isActive()
isActive in interface ContextisActive in class AbstractScopeContextpublic java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in interface ContextgetScope in class AbstractScopeContextprotected ContextContainer getContextContainer()
getContextContainer in class AbstractScopeContextprotected ContextContainer createContextContainer()
createContextContainer in class AbstractScopeContext