程序包 org.springframework.instrument.classloading
Support package for load time weaving based on class loaders, as required by JPA providers (but not JPA-specific).
接口概要 接口 说明 LoadTimeWeaver Defines the contract for adding one or moreClassFileTransformers
to aClassLoader
.类概要 类 说明 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.