Package org.springframework.aop
SinceNot specified.
VersionNot specified.
AuthorNot specified.
Wiki javadoc Use textile entry format.
Add your comments here.
Interfaces
Advisor Base interface holding AOP advice (action to take at a joinpoint) and a filter determining the applicability of the advice (such as a pointcut).
AfterReturningAdvice After returning advice is invoked only on normal method return, not if an exception is thrown.
BeforeAdvice Superinterface for all before advice.
ClassFilter Filter that restricts matching of a pointcut or introduction to a given set of target classes.
DynamicIntroductionAdvice Subinterface of AOP Alliance Advice that allows additional interfaces to be implemented by an Advice, and available via a proxy using that interceptor.
IntroductionAdvisor Superinterface for advisors that perform one or more AOP introductions.
IntroductionInfo Interface supplying the information necessary to describe an introduction.
IntroductionInterceptor Subinterface of AOP Alliance MethodInterceptor that allows additional interfaces to be implemented by the interceptor, and available via a proxy using that interceptor.
MethodBeforeAdvice Advice invoked before a method is invoked.
MethodMatcher Part of a Pointcut.
Pointcut Core Spring pointcut abstraction.
PointcutAdvisor Superinterface for all Advisors that are driven by a pointcut.
ProxyMethodInvocation Extension of the AOP Alliance MethodInvocation interface, allowing to access the proxy that the method invocation was made through.
TargetSource A TargetSource is used to obtain the current "target" of an AOP invocation, which will be invoked via reflection if no around advice chooses to end the interceptor chain itself.
ThrowsAdvice Tag interface for throws advice.
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
Any AOP Alliance MethodInterceptor is usable in Spring.
Spring AOP also offers:
  • Introduction support
  • A Pointcut abstraction, supporting "static" pointcuts (class and method-based) and "dynamic" pointcuts (also considering method arguments). There are currently no AOP Alliance interfaces for pointcuts.
  • A full range of advice types, including around, before, after returning and throws advice.
  • Extensibility allowing arbitrary custom advice types to be plugged in without modifying the core framework.

Spring AOP can be used programmatically or (preferably) integrated with the Spring IoC container.