| java.lang.Object | ||||
| ↳ | java.lang.ClassLoader | |||
| ↳ | org.springframework.core.DecoratingClassLoader | |||
| ↳ | org.springframework.core.OverridingClassLoader | |||
| ↳ | org.springframework.instrument.classloading.SimpleInstrumentableClassLoader | |||
Simplistic implementation of an instrumentable ClassLoader.
Usable in tests and standalone environments.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.OverridingClassLoader
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
SimpleLoadTimeWeaver for the given
ClassLoader. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a
ClassFileTransformer to be applied by this
ClassLoader. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Transformation hook to be implemented by subclasses.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.OverridingClassLoader
| |||||||||||
From class
org.springframework.core.DecoratingClassLoader
| |||||||||||
From class
java.lang.ClassLoader
| |||||||||||
From class
java.lang.Object
| |||||||||||
Create a new SimpleLoadTimeWeaver for the given
ClassLoader.
| parent | the ClassLoader to build a simple
instrumentable ClassLoader for
|
|---|
Add a ClassFileTransformer to be applied by this
ClassLoader.
| transformer | the ClassFileTransformer to register
|
|---|
Transformation hook to be implemented by subclasses.
The default implementation simply returns the given bytes as-is.
| name | the fully-qualified name of the class being transformed |
|---|---|
| bytes | the raw bytes of the class |
null;
same as the input bytes if the transformation produced no changes)