| org.springframework.instrument.classloading.LoadTimeWeaver |
Known Indirect Subclasses
|
Defines the contract for adding one or more ClassFileTransformer ClassFileTransformers to a ClassLoader.
Implementations may operate on the current context ClassLoader
or expose their own instrumentable ClassLoader.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a
ClassFileTransformer to be applied by this
LoadTimeWeaver. | |||||||||||
Return a
ClassLoader that supports instrumentation
through AspectJ-style load-time weaving based on user-defined
ClassFileTransformers. | |||||||||||
Return a throwaway
ClassLoader, enabling classes to be
loaded and inspected without affecting the parent ClassLoader. | |||||||||||
Add a ClassFileTransformer to be applied by this
LoadTimeWeaver.
| transformer | the ClassFileTransformer to add
|
|---|
Return a ClassLoader that supports instrumentation
through AspectJ-style load-time weaving based on user-defined
ClassFileTransformers.
May be the current ClassLoader, or a ClassLoader
created by this LoadTimeWeaver instance.
ClassLoader which will expose
instrumented classes according to the registered transformers
Return a throwaway ClassLoader, enabling classes to be
loaded and inspected without affecting the parent ClassLoader.
Should not return the same instance of the ClassLoader
returned from an invocation of getInstrumentableClassLoader().
ClassLoader; should return
a new instance for each call, with no existing state