Interface LoadTimeWeaverAware
- All Superinterfaces:
Aware
- All Known Implementing Classes:
AspectJWeavingEnabler,DefaultPersistenceUnitManager,LocalContainerEntityManagerFactoryBean
public interface LoadTimeWeaverAware extends Aware
Interface to be implemented by any object that wishes to be notified of the application context's defaultLoadTimeWeaver.- Since:
- 2.5
- Author:
- Juergen Hoeller, Chris Beams
- See Also:
ConfigurableApplicationContext.LOAD_TIME_WEAVER_BEAN_NAME
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver)Set theLoadTimeWeaverof this object's containingApplicationContext.
Method Detail
setLoadTimeWeaver
void setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver)
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.- Parameters:
loadTimeWeaver- theLoadTimeWeaverinstance (nevernull)- See Also:
InitializingBean.afterPropertiesSet(),ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)