spring-framework / org.springframework.instrument.classloading / ReflectiveLoadTimeWeaver / <init>

<init>

ReflectiveLoadTimeWeaver()

Create a new ReflectiveLoadTimeWeaver for the current context class loader, which needs to support the required weaving methods.

ReflectiveLoadTimeWeaver(@Nullable classLoader: ClassLoader)

Create a new SimpleLoadTimeWeaver for the given class loader.

Parameters

classLoader - the ClassLoader to delegate to for weaving (must support the required weaving methods).

Exceptions

IllegalStateException - if the supplied ClassLoader does not support the required weaving methods