接口 AutoConfigurationImportListener
- 所有超级接口:
EventListener
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public interface AutoConfigurationImportListener extends EventListener
Listener that can be registered withspring.factories
to receive details of imported auto-configurations.An
AutoConfigurationImportListener
may implement any of the followingAware
interfaces, and their respective methods will be called prior toonAutoConfigurationImportEvent(AutoConfigurationImportEvent)
:EnvironmentAware
BeanFactoryAware
BeanClassLoaderAware
ResourceLoaderAware
- 从以下版本开始:
- 1.5.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
onAutoConfigurationImportEvent(AutoConfigurationImportEvent event)
Handle an auto-configuration import event.
方法详细资料
onAutoConfigurationImportEvent
void onAutoConfigurationImportEvent(AutoConfigurationImportEvent event)
Handle an auto-configuration import event.- 参数:
event
- the event to respond to