|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.context.AbstractContext
public abstract class AbstractContext
Common Context operation
Constructor Summary | |
---|---|
AbstractContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Constructor |
Method Summary | |
---|---|
protected java.lang.Boolean |
getActive()
Delegates to a ThreadLocal instance |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScopeType()
Get the scope the context is for |
boolean |
isActive()
Return true if the context is active |
void |
setActive(boolean active)
Set the context active, internal API for WBRI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.context.Context |
---|
get, get |
Constructor Detail |
---|
public AbstractContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
scopeType
- The scope typeMethod Detail |
---|
public java.lang.Class<? extends java.lang.annotation.Annotation> getScopeType()
getScopeType
in interface Context
Context.getScopeType()
public boolean isActive()
isActive
in interface Context
Context.isActive()
public void setActive(boolean active)
active
- The new stateprotected java.lang.Boolean getActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |