org.springframework.instrument.classloading.LoadTimeWeaver implementation
for Tomcat's new org.apache.tomcat.InstrumentableClassLoader.
Also capable of handling Spring's TomcatInstrumentableClassLoader when encountered.
| Modifier and Type | Field and Description |
|---|---|
| private final Method | |
| private final ClassLoader | |
| private final Method | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | TomcatLoadTimeWeaver()
Create a new instance of the |
| public | TomcatLoadTimeWeaver(ClassLoader
the classLoader)ClassLoader to delegate to for weavingCreate a new instance of the |
| Modifier and Type | Method and Description |
|---|---|
| public void | addTransformer(ClassFileTransformer
the transformer)ClassFileTransformer to addImplements org. Add a |
| public ClassLoader | getInstrumentableClassLoader()
Implements org. Return a |
| public ClassLoader | getThrowawayClassLoader()
Implements org. Return a throwaway |
| addTransformerMethod | back to summary |
|---|---|
| private final Method addTransformerMethod | |
| classLoader | back to summary |
|---|---|
| private final ClassLoader classLoader | |
| copyMethod | back to summary |
|---|---|
| private final Method copyMethod | |
| INSTRUMENTABLE_LOADER_CLASS_NAME | back to summary |
|---|---|
| private static final String INSTRUMENTABLE_LOADER_CLASS_NAME | |
| TomcatLoadTimeWeaver | back to summary |
|---|---|
| public TomcatLoadTimeWeaver() Create a new instance of the | |
| TomcatLoadTimeWeaver | back to summary |
|---|---|
| public TomcatLoadTimeWeaver(ClassLoader classLoader) Create a new instance of the
| |
| addTransformer | back to summary |
|---|---|
| public void addTransformer(ClassFileTransformer transformer) Implements org. Doc from org. Add a
| |
| getInstrumentableClassLoader | back to summary |
|---|---|
| public ClassLoader getInstrumentableClassLoader() Implements org. Doc from org. Return a May be the current
| |
| getThrowawayClassLoader | back to summary |
|---|---|
| public ClassLoader getThrowawayClassLoader() Implements org. Doc from org. Return a throwaway Should not return the same instance of the
| |