List of usage examples for org.springframework.instrument.classloading LoadTimeWeaver getInstrumentableClassLoader
ClassLoader getInstrumentableClassLoader();
From source file:com.apdplat.platform.spring.APDPlatPersistenceUnitReader.java
/** * Initialize this PersistenceUnitInfo with the LoadTimeWeaver SPI interface * used by Spring to add instrumentation to the current class loader. *//*from w w w . jav a2 s. c om*/ public void init(LoadTimeWeaver loadTimeWeaver) { Assert.notNull(loadTimeWeaver, "LoadTimeWeaver must not be null"); this.loadTimeWeaver = loadTimeWeaver; this.classLoader = loadTimeWeaver.getInstrumentableClassLoader(); }