|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.context.ContextualInstance<T>
public class ContextualInstance<T>
A representation of a contextual bean plus associated instance
Constructor Summary | |
---|---|
protected |
ContextualInstance(Contextual<T> contextual,
T instance)
Protected constructor |
Method Summary | ||
---|---|---|
void |
destroy()
Destroys the instance by passing it to the destroy method of the contextual item |
|
static
|
of(Contextual<T> contextual,
T instance)
Static constructor wrapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ContextualInstance(Contextual<T> contextual, T instance)
contextual
- The contextual iteminstance
- The instanceMethod Detail |
---|
public static <T> ContextualInstance<T> of(Contextual<T> contextual, T instance)
T
- The type of the contextual itemcontextual
- The contextual iteminstance
- The instance
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |