Class LoadTimeWeavingConfiguration
java.lang.Object
org.springframework.context.annotation.LoadTimeWeavingConfiguration
- All Implemented Interfaces:
- Aware,- BeanClassLoaderAware,- ImportAware
@Configuration(proxyBeanMethods=false)
@Role(2)
public class LoadTimeWeavingConfiguration
extends Object
implements ImportAware, BeanClassLoaderAware
@Configuration class that registers a LoadTimeWeaver bean.
 This configuration class is automatically imported when using the
 EnableLoadTimeWeaving annotation. See @EnableLoadTimeWeaving
 javadoc for complete usage details.
- Since:
- 3.1
- Author:
- Chris Beams
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetBeanClassLoader(ClassLoader beanClassLoader) Callback that supplies the beanclass loaderto a bean instance.voidsetImportMetadata(AnnotationMetadata importMetadata) Set the annotation metadata of the importing @Configurationclass.voidsetLoadTimeWeavingConfigurer(LoadTimeWeavingConfigurer ltwConfigurer) 
- 
Constructor Details- 
LoadTimeWeavingConfigurationpublic LoadTimeWeavingConfiguration()
 
- 
- 
Method Details- 
setImportMetadataDescription copied from interface:ImportAwareSet the annotation metadata of the importing @Configurationclass.- Specified by:
- setImportMetadatain interface- ImportAware
 
- 
setLoadTimeWeavingConfigurer@Autowired(required=false) public void setLoadTimeWeavingConfigurer(LoadTimeWeavingConfigurer ltwConfigurer) 
- 
setBeanClassLoaderDescription copied from interface:BeanClassLoaderAwareCallback that supplies the beanclass loaderto a bean instance.Invoked after the population of normal bean properties but before an initialization callback such as InitializingBean'sInitializingBean.afterPropertiesSet()method or a custom init-method.- Specified by:
- setBeanClassLoaderin interface- BeanClassLoaderAware
- Parameters:
- beanClassLoader- the owning class loader
 
- 
loadTimeWeaver
 
-