Class DefaultContextLoadTimeWeaver

java.lang.Object
org.springframework.context.weaving.DefaultContextLoadTimeWeaver
All Implemented Interfaces:
Aware, BeanClassLoaderAware, DisposableBean, LoadTimeWeaver

public class DefaultContextLoadTimeWeaver extends Object implements LoadTimeWeaver, BeanClassLoaderAware, DisposableBean
Default LoadTimeWeaver bean for use in an application context, decorating an automatically detected internal LoadTimeWeaver.

Typically registered for the default bean name "loadTimeWeaver"; the most convenient way to achieve this is Spring's <context:load-time-weaver> XML tag or @EnableLoadTimeWeaving on a @Configuration class.

This class implements a runtime environment check for obtaining the appropriate weaver implementation, including Spring's VM agent and any ClassLoader supported by Spring's ReflectiveLoadTimeWeaver.

Since:
2.5
Author:
Juergen Hoeller, Ramnivas Laddad, Costin Leau
See Also: