接口 LoadTimeWeaverAware
- 所有超级接口:
Aware
- 所有已知实现类:
AspectJWeavingEnabler
Interface to be implemented by any object that wishes to be notified
of the application context's default
LoadTimeWeaver.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Chris Beams
- 另请参阅:
-
方法概要
修饰符和类型方法说明voidsetLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver) Set theLoadTimeWeaverof this object's containingApplicationContext.
-
方法详细资料
-
setLoadTimeWeaver
Set theLoadTimeWeaverof this object's containingApplicationContext.Invoked after the population of normal bean properties but before an initialization callback like
InitializingBean'safterPropertiesSet()or a custom init-method. Invoked afterApplicationContextAware'ssetApplicationContext(..).NOTE: This method will only be called if there actually is a
LoadTimeWeaveravailable in the application context. If there is none, the method will simply not get invoked, assuming that the implementing object is able to activate its weaving dependency accordingly.- 参数:
loadTimeWeaver- theLoadTimeWeaverinstance (nevernull)- 另请参阅:
-