org.springframework.beans.factory.annotation
Class InitDestroyAnnotationBeanPostProcessor.LifecycleMetadata
java.lang.Object
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.LifecycleMetadata
- Enclosing class:
- InitDestroyAnnotationBeanPostProcessor
private class InitDestroyAnnotationBeanPostProcessor.LifecycleMetadata
- extends java.lang.Object
Class representing information about annotated init and destroy methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initMethods
private final java.util.Set<InitDestroyAnnotationBeanPostProcessor.LifecycleElement> initMethods
destroyMethods
private final java.util.Set<InitDestroyAnnotationBeanPostProcessor.LifecycleElement> destroyMethods
InitDestroyAnnotationBeanPostProcessor.LifecycleMetadata
public InitDestroyAnnotationBeanPostProcessor.LifecycleMetadata(java.lang.Class<?> targetClass,
java.util.Collection<InitDestroyAnnotationBeanPostProcessor.LifecycleElement> initMethods,
java.util.Collection<InitDestroyAnnotationBeanPostProcessor.LifecycleElement> destroyMethods)
checkConfigMembers
public void checkConfigMembers(RootBeanDefinition beanDefinition)
invokeInitMethods
public void invokeInitMethods(java.lang.Object target,
java.lang.String beanName)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
invokeDestroyMethods
public void invokeDestroyMethods(java.lang.Object target,
java.lang.String beanName)
throws java.lang.Throwable
- Throws:
java.lang.Throwable