类的使用
org.springframework.context.event.ApplicationContextEvent
使用ApplicationContextEvent的程序包 程序包 说明 org.springframework.context.event Support classes for application events, like standard context events.org.springframework.context.event中ApplicationContextEvent的使用
org.springframework.context.event中ApplicationContextEvent的子类 修饰符和类型 类 说明 class
ContextClosedEvent
Event raised when anApplicationContext
gets closed.class
ContextRefreshedEvent
Event raised when anApplicationContext
gets initialized or refreshed.class
ContextStartedEvent
Event raised when anApplicationContext
gets started.class
ContextStoppedEvent
Event raised when anApplicationContext
gets stopped.