spring-framework / org.springframework.aop.aspectj.annotation / ReflectiveAspectJAdvisorFactory / <init>

<init>

ReflectiveAspectJAdvisorFactory()

Create a new ReflectiveAspectJAdvisorFactory.

ReflectiveAspectJAdvisorFactory(@Nullable beanFactory: BeanFactory)

Create a new ReflectiveAspectJAdvisorFactory, propagating the given BeanFactory to the created AspectJExpressionPointcut instances, for bean pointcut handling as well as consistent ClassLoader resolution.

Parameters

beanFactory - the BeanFactory to propagate (may be null}

Since
4.3.6

See Also
AspectJExpressionPointcut#setBeanFactoryorg.springframework.beans.factory.config.ConfigurableBeanFactory#getBeanClassLoader()