public class AspectJExpressionPointcutAdvisor extends AbstractGenericPointcutAdvisor implements BeanFactoryAware
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
AspectJExpressionPointcutAdvisor() |
Modifier and Type | Method and Description |
---|---|
String |
getExpression() |
String |
getLocation() |
Pointcut |
getPointcut()
Get the Pointcut that drives this advisor.
|
void |
setBeanFactory(BeanFactory beanFactory)
Callback that supplies the owning factory to a bean instance.
|
void |
setExpression(String expression) |
void |
setLocation(String location) |
void |
setParameterNames(String... names) |
void |
setParameterTypes(Class<?>... types) |
getAdvice, setAdvice, toString
equals, getOrder, hashCode, isPerInstance, setOrder
public void setExpression(String expression)
public String getExpression()
public void setLocation(String location)
public String getLocation()
public void setParameterNames(String... names)
public void setParameterTypes(Class<?>... types)
public void setBeanFactory(BeanFactory beanFactory)
BeanFactoryAware
Invoked after the population of normal bean properties
but before an initialization callback such as
InitializingBean.afterPropertiesSet()
or a custom init-method.
setBeanFactory
in interface BeanFactoryAware
beanFactory
- owning BeanFactory (never null
).
The bean can immediately call methods on the factory.BeanInitializationException
public Pointcut getPointcut()
PointcutAdvisor
getPointcut
in interface PointcutAdvisor