@Configuration public class LoadTimeWeavingConfiguration extends java.lang.Object implements ImportAware, org.springframework.beans.factory.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.
LoadTimeWeavingConfigurer,
ConfigurableApplicationContext.LOAD_TIME_WEAVER_BEAN_NAME| Constructor and Description |
|---|
LoadTimeWeavingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
LoadTimeWeaver |
loadTimeWeaver() |
void |
setBeanClassLoader(java.lang.ClassLoader beanClassLoader) |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |
void |
setLoadTimeWeavingConfigurer(LoadTimeWeavingConfigurer ltwConfigurer) |
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
ImportAwareConfiguration class.setImportMetadata in interface ImportAware@Autowired(required=false) public void setLoadTimeWeavingConfigurer(LoadTimeWeavingConfigurer ltwConfigurer)
public void setBeanClassLoader(java.lang.ClassLoader beanClassLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware@Bean(name="loadTimeWeaver") @Role(value=2) public LoadTimeWeaver loadTimeWeaver()