|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.scope.AbstractScopeContext
com.caucho.inject.RequestContext
@Module public class RequestContext
Scope based on the current transaction.
| Constructor Summary | |
|---|---|
RequestContext()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.config.scope.AbstractScopeContext |
|---|
closeContext, create, get, get |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestContext()
| Method Detail |
|---|
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||