Default {@link 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.
This class implements a runtime environment check for obtaining the appropriate weaver implementation: As of Spring 3.1, it detects Oracle WebLogic 10, Oracle OC4J 10, GlassFish 3, JBoss AS 5, 6 and 7, IBM WebSphere 7 and 8, {@link InstrumentationSavingAgent Spring's VM agent}and any {@link ClassLoader} supported by Spring's {@link ReflectiveLoadTimeWeaver}(for example the {@link org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader}for Tomcat 5, 6 and 7).
@author Juergen Hoeller
@author Ramnivas Laddad
@author Costin Leau
@since 2.5
@see org.springframework.context.ConfigurableApplicationContext#LOAD_TIME_WEAVER_BEAN_NAME