接口的使用
org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
使用DestructionAwareBeanPostProcessor的程序包 程序包 说明 org.springframework.beans.factory.annotation Support package for annotation-driven bean configuration.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.orm.jpa.support Classes supporting theorg.springframework.orm.jpa
package.org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.web.servlet.handler Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.org.springframework.beans.factory.annotation中DestructionAwareBeanPostProcessor的使用
实现DestructionAwareBeanPostProcessor的org.springframework.beans.factory.annotation中的类 修饰符和类型 类 说明 class
InitDestroyAnnotationBeanPostProcessor
BeanPostProcessor
implementation that invokes annotated init and destroy methods.org.springframework.context.annotation中DestructionAwareBeanPostProcessor的使用
实现DestructionAwareBeanPostProcessor的org.springframework.context.annotation中的类 修饰符和类型 类 说明 class
CommonAnnotationBeanPostProcessor
BeanPostProcessor
implementation that supports common Java annotations out of the box, in particular the JSR-250 annotations in thejavax.annotation
package.org.springframework.orm.jpa.support中DestructionAwareBeanPostProcessor的使用
实现DestructionAwareBeanPostProcessor的org.springframework.orm.jpa.support中的类 修饰符和类型 类 说明 class
PersistenceAnnotationBeanPostProcessor
BeanPostProcessor that processesPersistenceUnit
andPersistenceContext
annotations, for injection of the corresponding JPA resourcesEntityManagerFactory
andEntityManager
.org.springframework.scheduling.annotation中DestructionAwareBeanPostProcessor的使用
实现DestructionAwareBeanPostProcessor的org.springframework.scheduling.annotation中的类 修饰符和类型 类 说明 class
ScheduledAnnotationBeanPostProcessor
Bean post-processor that registers methods annotated with @Scheduled
to be invoked by aTaskScheduler
according to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.org.springframework.web.servlet.handler中DestructionAwareBeanPostProcessor的使用
实现DestructionAwareBeanPostProcessor的org.springframework.web.servlet.handler中的类 修饰符和类型 类 说明 class
SimpleServletPostProcessor
BeanPostProcessor
that applies initialization and destruction callbacks to beans that implement theServlet
interface.