Example usage for Java org.springframework.beans.factory.annotation InitDestroyAnnotationBeanPostProcessor fields, constructors, methods, implement or subclass
The text is from its open source code.
void | setDestroyAnnotationType(Class extends Annotation> destroyAnnotationType) Specify the destroy annotation to check for, indicating destruction methods to call when the context is shutting down. |
void | setInitAnnotationType(Class extends Annotation> initAnnotationType) Specify the init annotation to check for, indicating initialization methods to call after configuration of a bean. |