Example usage for Java org.springframework.aop.framework Advised fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addAdvice(Advice advice) Add the given AOP Alliance advice to the tail of the advice (interceptor) chain. |
void | addAdvisor(Advisor advisor) Add an advisor at the end of the advisor chain. |
Advisor[] | getAdvisors() Return the advisors applying to this proxy. |
Class> | getClass() Returns the runtime class of this Object . |
Class> | getTargetClass() Return the target class behind the implementing object (typically a proxy configuration or an actual proxy). |
TargetSource | getTargetSource() Return the TargetSource used by this Advised object. |
int | indexOf(Advisor advisor) Return the index (from 0) of the given advisor, or -1 if no such advisor applies to this proxy. |
int | indexOf(Advice advice) Return the index (from 0) of the given AOP Alliance Advice, or -1 if no such advice is an advice for this proxy. |
boolean | removeAdvice(Advice advice) Remove the Advisor containing the given advice. |
boolean | removeAdvisor(Advisor advisor) Remove the given advisor. |
void | removeAdvisor(int index) Remove the advisor at the given index. |
void | setTargetSource(TargetSource targetSource) Change the TargetSource used by this Advised object. |