Class LoadTimeWeavingConfiguration
java.lang.Object
org.springframework.context.annotation.LoadTimeWeavingConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,ImportAware
@Configuration(proxyBeanMethods=false)
@Role(2)
public class LoadTimeWeavingConfiguration
extends 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.
- Since:
- 3.1
- Author:
- Chris Beams
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setBeanClassLoader
(ClassLoader beanClassLoader) void
setImportMetadata
(org.springframework.core.type.AnnotationMetadata importMetadata) Set the annotation metadata of the importing @Configuration
class.void
setLoadTimeWeavingConfigurer
(LoadTimeWeavingConfigurer ltwConfigurer)
-
Constructor Details
-
LoadTimeWeavingConfiguration
public LoadTimeWeavingConfiguration()
-
-
Method Details
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) Description copied from interface:ImportAware
Set the annotation metadata of the importing @Configuration
class.- Specified by:
setImportMetadata
in interfaceImportAware
-
setLoadTimeWeavingConfigurer
@Autowired(required=false) public void setLoadTimeWeavingConfigurer(LoadTimeWeavingConfigurer ltwConfigurer) -
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-
loadTimeWeaver
-