Package org.springframework.aop.framework.adapter

SPI package allowing Spring AOP framework to handle arbitrary advice types.


Interface Summary
AdvisorAdapter Interface allowing extension to the Spring AOP framework to allow handling of new Advisors and Advice types.
AdvisorAdapterRegistry Interface for registries of AdvisorAdapters.

Class Summary
AdvisorAdapterRegistrationManager BeanPostProcessor implementation that "registers" instances of any non-default AdvisorAdapters with GlobalAdvisorAdapterRegistry.
AfterReturningAdviceAdapter Adapter to enable AfterReturningAdvisor and MethodAfterReturningAdvice to be used in the Spring AOP framework.
AfterReturningAdviceInterceptor Interceptor to wrap a MethodAfterReturningAdvice.
DefaultAdvisorAdapterRegistry Default implementation of the AdvisorAdapterRegistry interface.
GlobalAdvisorAdapterRegistry Singleton to publish a shared DefaultAdvisorAdapterRegistry instance.
MethodBeforeAdviceInterceptor Interceptor to wrap a MethodBeforeAdvice.
ThrowsAdviceInterceptor Interceptor to wrap an after throwing advice.

Exception Summary
UnknownAdviceTypeException Exception thrown when an attempt is made to use an unsupported Advisor or Advice type.

Package org.springframework.aop.framework.adapter Description

SPI package allowing Spring AOP framework to handle arbitrary advice types.
Users who want merely to use the Spring AOP framework, rather than extend its capabilities, don't need to concern themselves with this package.
You may wish to use these adapters to wrap Spring-specific advices, such as MethodBeforeAdvice, in MethodInterceptor, to allow their use in another AOP framework supporting the AOP Alliance interfaces.

These adapters do not depend on any other Spring framework classes to allow such usage.

Copyright (c) 2002-2007 The Spring Framework Project.