spring-framework / org.springframework.context.weaving / AspectJWeavingEnabler / enableAspectJWeaving

enableAspectJWeaving

open static fun enableAspectJWeaving(@Nullable weaverToUse: LoadTimeWeaver, @Nullable beanClassLoader: ClassLoader): Unit

Enable AspectJ weaving with the given LoadTimeWeaver.

Parameters

weaverToUse - the LoadTimeWeaver to apply to (or null for a default weaver)

beanClassLoader - the class loader to create a default weaver for (if necessary)