NamespaceHandler for the aop namespace.
Provides a org. for the
<aop:config> tag. A config tag can include nested
pointcut, advisor and aspect tags.
The pointcut tag allows for creation of named
AspectJExpressionPointcut beans using a simple syntax:
<aop:pointcut id="getNameCalls" expression="execution(* *..ITestBean.getName(..))"/>
Using the advisor tag you can configure an org.
and have it applied to all relevant beans in you org.
automatically. The advisor tag supports both in-line and referenced
Pointcuts:
<aop:advisor id="getAgeAdvisor"
pointcut="execution(* *..ITestBean.getAge(..))"
advice-ref="getAgeCounter"/>
<aop:advisor id="getNameAdvisor"
pointcut-ref="getNameCalls"
advice-ref="getNameCounter"/>
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | init()
Implements org. Register the |
| AopNamespaceHandler | back to summary |
|---|---|
| public AopNamespaceHandler() | |
| init | back to summary |
|---|---|
| public void init() Implements org. Register the
| |