|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.context.annotation.LoadTimeWeavingConfiguration
@Configuration public class LoadTimeWeavingConfiguration
@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 Summary | |
|---|---|
LoadTimeWeavingConfiguration()
|
|
| Method Summary | |
|---|---|
LoadTimeWeaver |
loadTimeWeaver()
|
void |
setBeanClassLoader(ClassLoader beanClassLoader)
Callback that supplies the bean class loader to
a bean instance. |
void |
setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @ Configuration class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoadTimeWeavingConfiguration()
| Method Detail |
|---|
public void setImportMetadata(AnnotationMetadata importMetadata)
ImportAwareConfiguration class.
setImportMetadata in interface ImportAwarepublic void setBeanClassLoader(ClassLoader beanClassLoader)
BeanClassLoaderAwareclass loader to
a bean instance.
Invoked after the population of normal bean properties but
before an initialization callback such as
InitializingBean's
InitializingBean.afterPropertiesSet()
method or a custom init-method.
setBeanClassLoader in interface BeanClassLoaderAwarebeanClassLoader - the owning class loader; may be null in
which case a default ClassLoader must be used, for example
the ClassLoader obtained via
ClassUtils.getDefaultClassLoader()@Bean(name="loadTimeWeaver") @Role(value=2) public LoadTimeWeaver loadTimeWeaver()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||