|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.solder.bean.DelegatingContextualLifecycle<T>
T - public class DelegatingContextualLifecycle<T>
An implementation of ContextualLifecycle that is backed by an
InjectionTarget.
| Constructor Summary | |
|---|---|
DelegatingContextualLifecycle(InjectionTarget<T> injectionTarget)
Instantiate a new ContextualLifecycle backed by an
InjectionTarget. |
|
| Method Summary | |
|---|---|
T |
create(Bean<T> bean,
CreationalContext<T> creationalContext)
Callback invoked by a Seam Solder created bean when Contextual.create(CreationalContext) is called. |
void |
destroy(Bean<T> bean,
T instance,
CreationalContext<T> creationalContext)
Callback invoked by a Seam Solder created bean when Contextual.destroy(Object, CreationalContext) is called. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingContextualLifecycle(InjectionTarget<T> injectionTarget)
ContextualLifecycle backed by an
InjectionTarget.
injectionTarget - the InjectionTarget used to create and
destroy instances| Method Detail |
|---|
public T create(Bean<T> bean,
CreationalContext<T> creationalContext)
ContextualLifecycleContextual.create(CreationalContext) is called.
create in interface ContextualLifecycle<T>bean - the bean initiating the callbackcreationalContext - the context in which this instance was created
public void destroy(Bean<T> bean,
T instance,
CreationalContext<T> creationalContext)
ContextualLifecycleContextual.destroy(Object, CreationalContext) is called.
destroy in interface ContextualLifecycle<T>bean - the bean initiating the callbackinstance - the contextual instance to destroycreationalContext - the context in which this instance was created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||