接口的使用
org.springframework.context.event.EventListenerFactory
使用EventListenerFactory的程序包 程序包 说明 org.springframework.context.event Support classes for application events, like standard context events.org.springframework.transaction.event Spring's support for listening to transaction events.org.springframework.context.event中EventListenerFactory的使用
实现EventListenerFactory的org.springframework.context.event中的类 修饰符和类型 类 说明 class
DefaultEventListenerFactory
DefaultEventListenerFactory
implementation that supports the regularEventListener
annotation.org.springframework.transaction.event中EventListenerFactory的使用
实现EventListenerFactory的org.springframework.transaction.event中的类 修饰符和类型 类 说明 class
TransactionalEventListenerFactory
EventListenerFactory
implementation that handlesTransactionalEventListener
annotated methods.