public final class AnnotatedLifecycleMethodStrategy extends Object implements LifecycleMethodStrategy
PostConstruct and PreDestroy
annotation to find "initialize" and "destroy" methods.| Constructor and Description |
|---|
AnnotatedLifecycleMethodStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
invokeDestroyMethods(Object o)
Call "destroy" method on the specified object.
|
void |
invokeInitializeMethods(Object o)
Call "initialize" method on the specified object.
|
public void invokeInitializeMethods(Object o)
LifecycleMethodStrategyinvokeInitializeMethods in interface LifecycleMethodStrategyo - the objectLifecycleMethodStrategy.invokeInitializeMethods(java.lang.Object)public void invokeDestroyMethods(Object o)
LifecycleMethodStrategyinvokeDestroyMethods in interface LifecycleMethodStrategyo - the objectLifecycleMethodStrategy.invokeDestroyMethods(java.lang.Object)Copyright © 2015. All rights reserved.