|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.context.AbstractContext
org.jboss.webbeans.context.DependentContext
public class DependentContext
The dependent context
| Field Summary | |
|---|---|
static DependentContext |
INSTANCE
|
| Constructor Summary | |
|---|---|
DependentContext()
Constructor |
|
| Method Summary | ||
|---|---|---|
void |
clearCurrentInjectionInstance(java.lang.Object instance)
Clears the current injection instance. |
|
|
get(Contextual<T> contextual)
|
|
|
get(Contextual<T> contextual,
CreationalContext<T> creationalContext)
Overridden method always creating a new instance |
|
void |
setActive(boolean active)
Set the context active, internal API for WBRI |
|
void |
setCurrentInjectionInstance(java.lang.Object instance)
Sets the current injection instance. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class org.jboss.webbeans.context.AbstractContext |
|---|
getActive, getScopeType, isActive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static DependentContext INSTANCE
| Constructor Detail |
|---|
public DependentContext()
| Method Detail |
|---|
public <T> T get(Contextual<T> contextual,
CreationalContext<T> creationalContext)
contextual - The bean to createcreate - Should a new one be createdpublic <T> T get(Contextual<T> contextual)
public java.lang.String toString()
toString in class java.lang.Objectpublic void setActive(boolean active)
AbstractContext
setActive in class AbstractContextactive - The new statepublic void setCurrentInjectionInstance(java.lang.Object instance)
instance - The current injection instance to register
dependent objects underpublic void clearCurrentInjectionInstance(java.lang.Object instance)
instance - The instance to free
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||