Top Description Methods
org.springframework.context.weaving

public Interface LoadTimeWeaverAware

extends Aware
Known Direct Implementers
org.springframework.context.weaving.AspectJWeavingEnabler
Imports
org.springframework.beans.factory.Aware, org.springframework.instrument.classloading.LoadTimeWeaver

Interface to be implemented by any object that wishes to be notified of the application context's default LoadTimeWeaver.
Authors
Juergen Hoeller, Chris Beams
Since
2.5
See Also
org.springframework.context.ConfigurableApplicationContext#LOAD_TIME_WEAVER_BEAN_NAME

Method Summary

Modifier and TypeMethod and Description
public void
setLoadTimeWeaver(LoadTimeWeaver
the LoadTimeWeaver instance (never null)
loadTimeWeaver
)

Set the LoadTimeWeaver of this object's containing ApplicationContext.

Method Detail

setLoadTimeWeaverback to summary
public void setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver)

Set the LoadTimeWeaver of this object's containing ApplicationContext.

Invoked after the population of normal bean properties but before an initialization callback like InitializingBean's afterPropertiesSet() or a custom init-method. Invoked after ApplicationContextAware's setApplicationContext(..).

Note

This method will only be called if there actually is a LoadTimeWeaver available 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.

Parameters
loadTimeWeaver:LoadTimeWeaver

the LoadTimeWeaver instance (never null)

See Also
org.springframework.beans.factory.InitializingBean#afterPropertiesSet, org.springframework.context.ApplicationContextAware#setApplicationContext