T - public class DefaultLifecycleCallbackInvoker<T> extends Object implements LifecycleCallbackInvoker<T>
PostConstruct / PreDestroy invocation is delegated to the intercepting proxy.| Constructor and Description |
|---|
DefaultLifecycleCallbackInvoker(EnhancedAnnotatedType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotatedMethod<? super T>> |
getPostConstructMethods() |
List<AnnotatedMethod<? super T>> |
getPreDestroyMethods() |
protected void |
invokeMethods(List<AnnotatedMethod<? super T>> methods,
T instance) |
void |
postConstruct(T instance,
Instantiator<T> instantiator) |
void |
preDestroy(T instance,
Instantiator<T> instantiator) |
public DefaultLifecycleCallbackInvoker(EnhancedAnnotatedType<T> type)
public void postConstruct(T instance, Instantiator<T> instantiator)
postConstruct in interface LifecycleCallbackInvoker<T>public void preDestroy(T instance, Instantiator<T> instantiator)
preDestroy in interface LifecycleCallbackInvoker<T>protected void invokeMethods(List<AnnotatedMethod<? super T>> methods, T instance)
public List<AnnotatedMethod<? super T>> getPostConstructMethods()
getPostConstructMethods in interface LifecycleCallbackInvoker<T>public List<AnnotatedMethod<? super T>> getPreDestroyMethods()
getPreDestroyMethods in interface LifecycleCallbackInvoker<T>Copyright © 2013 Seam Framework. All Rights Reserved.