|
The Spring Framework | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
LoadTimeWeaver | Defines the contract for adding one or more
ClassFileTransformers to a
ClassLoader - typically the current context class loader. |
Class Summary | |
---|---|
InstrumentationLoadTimeWeaver | Load time weaver relying on Instrumentation. |
ReflectiveLoadTimeWeaver | LoadTimeWeaver that uses reflection to delegate to an underlying ClassLoader,
which needs to support the following weaving methods (as defined in the
LoadTimeWeaver interface):
public void addTransformer(java.lang.instrument.ClassFileTransformer) :
to register the given ClassFileTransformer for this ClassLoader
public ClassLoader getThrowawayClassLoader() : to obtain
a throwaway class loader for this ClassLoader (optional;
ReflectiveLoadTimeWeaver will fall back to a SimpleThrowawayClassLoader if
that method isn't available)
Please note that the above methods must reside in a class that is
publicly accessible. |
ResourceOverridingShadowingClassLoader | Subclass of ShadowingClassLoader that overrides attempts to locate certain files. |
ShadowingClassLoader | ClassLoader decorator that shadows an enclosing ClassLoader, applying registered transformers to all affected classes. |
SimpleInstrumentableClassLoader | Simplistic implementation of an instrumentable ClassLoader. |
SimpleLoadTimeWeaver | LoadTimeWeaver that builds and exposes a SimpleInstrumentableClassLoader for the current context class loader. |
SimpleThrowawayClassLoader | ClassLoader that can be used to load classes without bringing them into the parent loader. |
WeavingTransformer | ClassFileTransformer-based weaver, allowing for a list of transformers to be applied on a class byte array. |
Support package for load time weaving based on class loaders, as required by JPA providers (but not JPA-specific).