Top Description Fields Constructors Methods
org.springframework.aop.aspectj

public Class AspectJExpressionPointcutAdvisor

extends AbstractGenericPointcutAdvisor
implements BeanFactoryAware
Class Inheritance
All Implemented Interfaces
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.Aware
Annotations
@SuppressWarnings:serial
Imports
org.springframework.aop.Pointcut, org.springframework.aop.support.AbstractGenericPointcutAdvisor, org.springframework.beans.factory.BeanFactory, .BeanFactoryAware, org.springframework.lang.Nullable

Spring AOP Advisor that can be used for any AspectJ pointcut expression.
Author
Rob Harrop
Since
2.0

Field Summary

Modifier and TypeField and Description
private final AspectJExpressionPointcut

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public String
public Pointcut
getPointcut()

Implements org.springframework.aop.PointcutAdvisor.getPointcut.

Get the Pointcut that drives this advisor.
public void
setBeanFactory(BeanFactory
owning BeanFactory (never null). The bean can immediately call methods on the factory.
beanFactory
)

Implements org.springframework.beans.factory.BeanFactoryAware.setBeanFactory.

Callback that supplies the owning factory to a bean instance.
public void
setExpression(String expression)

public void
setLocation(String location)

public void
public void
setParameterTypes(Class<?>... types)

Inherited from org.springframework.aop.support.AbstractGenericPointcutAdvisor:
getAdvicesetAdvicetoString

Field Detail

pointcutback to summary
private final AspectJExpressionPointcut pointcut

Constructor Detail

AspectJExpressionPointcutAdvisorback to summary
public AspectJExpressionPointcutAdvisor()

Method Detail

getExpressionback to summary
public String getExpression()
Annotations
@Nullable
getLocationback to summary
public String getLocation()
Annotations
@Nullable
getPointcutback to summary
public Pointcut getPointcut()

Implements org.springframework.aop.PointcutAdvisor.getPointcut.

Doc from org.springframework.aop.PointcutAdvisor.getPointcut.

Get the Pointcut that drives this advisor.

Annotations
@Override
setBeanFactoryback to summary
public void setBeanFactory(BeanFactory beanFactory)

Implements org.springframework.beans.factory.BeanFactoryAware.setBeanFactory.

Doc from org.springframework.beans.factory.BeanFactoryAware.setBeanFactory.

Callback that supplies the owning factory to a bean instance.

Invoked after the population of normal bean properties but before an initialization callback such as InitializingBean#afterPropertiesSet() or a custom init-method.

Parameters
beanFactory:BeanFactory

owning BeanFactory (never null). The bean can immediately call methods on the factory.

Annotations
@Override
setExpressionback to summary
public void setExpression(String expression)
setLocationback to summary
public void setLocation(String location)
setParameterNamesback to summary
public void setParameterNames(String... names)
setParameterTypesback to summary
public void setParameterTypes(Class<?>... types)