接口 ReaderEventListener
- 所有超级接口:
EventListener
- 所有已知实现类:
EmptyReaderEventListener
public interface ReaderEventListener extends EventListener
Interface that receives callbacks for component, alias and import registrations during a bean definition reading process.- 从以下版本开始:
- 2.0
- 作者:
- Rob Harrop, Juergen Hoeller
- 另请参阅:
ReaderContext
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
aliasRegistered(AliasDefinition aliasDefinition)
Notification that the given alias has been registered.void
componentRegistered(ComponentDefinition componentDefinition)
Notification that the given component has been registered.void
defaultsRegistered(DefaultsDefinition defaultsDefinition)
Notification that the given defaults has been registered.void
importProcessed(ImportDefinition importDefinition)
Notification that the given import has been processed.
方法详细资料
defaultsRegistered
void defaultsRegistered(DefaultsDefinition defaultsDefinition)
Notification that the given defaults has been registered.- 参数:
defaultsDefinition
- a descriptor for the defaults- 另请参阅:
DocumentDefaultsDefinition
componentRegistered
void componentRegistered(ComponentDefinition componentDefinition)
Notification that the given component has been registered.- 参数:
componentDefinition
- a descriptor for the new component- 另请参阅:
BeanComponentDefinition
aliasRegistered
void aliasRegistered(AliasDefinition aliasDefinition)
Notification that the given alias has been registered.- 参数:
aliasDefinition
- a descriptor for the new alias
importProcessed
void importProcessed(ImportDefinition importDefinition)
Notification that the given import has been processed.- 参数:
importDefinition
- a descriptor for the import