Package org.springframework.instrument.classloading
@NonNullApi
@NonNullFields
package org.springframework.instrument.classloading
Support package for load time weaving based on class loaders,
as required by JPA providers (but not JPA-specific).
-
ClassDescription
LoadTimeWeaver
relying on VMInstrumentation
.Defines the contract for adding one or moreClassFileTransformers
to aClassLoader
.LoadTimeWeaver
which uses reflection to delegate to an underlying ClassLoader with well-known transformation hooks.Subclass of ShadowingClassLoader that overrides attempts to locate certain files.ClassLoader decorator that shadows an enclosing ClassLoader, applying registered transformers to all affected classes.Simplistic implementation of an instrumentableClassLoader
.LoadTimeWeaver
that builds and exposes aSimpleInstrumentableClassLoader
.ClassLoader that can be used to load classes without bringing them into the parent loader.ClassFileTransformer-based weaver, allowing for a list of transformers to be applied on a class byte array.