Package org.springframework.instrument.classloading
Support package for load time weaving based on class loaders, as required by JPA providers (but not JPA-specific).
Interface Summary Interface Description LoadTimeWeaver Defines the contract for adding one or moreClassFileTransformers
to aClassLoader
.Class Summary Class Description InstrumentationLoadTimeWeaver LoadTimeWeaver
relying on VMInstrumentation
.ReflectiveLoadTimeWeaver LoadTimeWeaver
which uses reflection to delegate to an underlying ClassLoader with well-known transformation hooks.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 instrumentableClassLoader
.SimpleLoadTimeWeaver LoadTimeWeaver
that builds and exposes aSimpleInstrumentableClassLoader
.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.Exception Summary Exception Description WeavingTransformer ClassFileTransformer-based weaver, allowing for a list of transformers to be applied on a class byte array.