| java.lang.Object | |
| ↳ | org.springframework.aop.aspectj.annotation.AspectMetadata |
Metadata for an AspectJ aspect class, with an additional Spring AOP pointcut for the per clause.
Uses AspectJ 5 AJType reflection API, so is only supported on Java 5. Enables us to work with different AspectJ instantiation models such as "singleton", "pertarget" and "perthis".
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new AspectMetadata instance for the given aspect class.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return AspectJ reflection information.
| |||||||||||
Return the aspect class.
| |||||||||||
Return the aspect class.
| |||||||||||
Return a Spring pointcut expression for a singleton aspect.
| |||||||||||
Return whether the aspect needs to be lazily instantiated.
| |||||||||||
Return whether the aspect is defined as "perthis" or "pertarget".
| |||||||||||
Return whether the aspect is defined as "pertypewithin".
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a new AspectMetadata instance for the given aspect class.
| aspectClass | the aspect class |
|---|---|
| aspectName | the name of the aspect |
Return AspectJ reflection information.
Return a Spring pointcut expression for a singleton aspect.
(e.g. Pointcut.TRUE if it's a singleton).
Return whether the aspect needs to be lazily instantiated.
Return whether the aspect is defined as "perthis" or "pertarget".
Return whether the aspect is defined as "pertypewithin".