Package org.springframework.aop.framework

Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.


Interface Summary
Advised Interface to be implemented by classes that hold the configuration of a factory of AOP proxies.
AdvisedSupportListener Listener to be registered on ProxyCreatorSupport objects Allows for receiving callbacks on activation and change of advice.
AdvisorChainFactory Factory interface for advisor chains.
AopInfrastructureBean Marker interface that indicates a bean that is part of Spring's AOP infrastructure.
AopProxy Delegate interface for a configured AOP proxy, allowing for the creation of actual proxy objects.
AopProxyFactory Interface to be implemented by factories that are able to create AOP proxies based on AdvisedSupport configuration objects.

Class Summary
AbstractSingletonProxyFactoryBean Convenient superclass for FactoryBean types that produce singleton-scoped proxy objects.
AdvisedSupport Base class for AOP proxy configuration managers.
AdvisedSupport.MethodCacheKey Simple wrapper class around a Method.
AopContext Class containing static methods used to obtain information about the current AOP invocation.
AopProxyUtils Utility methods for AOP proxy factories.
Cglib2AopProxy CGLIB2-based AopProxy implementation for the Spring AOP framework.
Cglib2AopProxy.AdvisedDispatcher Dispatcher for any methods declared on the Advised class.
Cglib2AopProxy.CglibMethodInvocation Implementation of AOP Alliance MethodInvocation used by this AOP proxy.
Cglib2AopProxy.DynamicAdvisedInterceptor General purpose AOP callback.
Cglib2AopProxy.DynamicUnadvisedExposedInterceptor Interceptor for unadvised dynamic targets when the proxy needs exposing.
Cglib2AopProxy.DynamicUnadvisedInterceptor Interceptor used to invoke a dynamic target without creating a method invocation or evaluating an advice chain.
Cglib2AopProxy.EqualsInterceptor Dispatcher for the equals method.
Cglib2AopProxy.FixedChainStaticTargetInterceptor Interceptor used specifically for advised methods on a frozen, static proxy.
Cglib2AopProxy.HashCodeInterceptor Dispatcher for the hashCode method.
Cglib2AopProxy.ProxyCallbackFilter CallbackFilter to assign Callbacks to methods.
Cglib2AopProxy.SerializableNoOp Serializable replacement for CGLIB's NoOp interface.
Cglib2AopProxy.StaticDispatcher Dispatcher for a static target.
Cglib2AopProxy.StaticUnadvisedExposedInterceptor Method interceptor used for static targets with no advice chain, when the proxy is to be exposed.
Cglib2AopProxy.StaticUnadvisedInterceptor Method interceptor used for static targets with no advice chain.
DefaultAdvisorChainFactory A simple but definitive way of working out an advice chain for a Method, given an Advised object.
DefaultAopProxyFactory Default AopProxyFactory implementation, creating either a CGLIB proxy or a JDK dynamic proxy.
DefaultAopProxyFactory.CglibProxyFactory Inner factory class used to just introduce a CGLIB2 dependency when actually creating a CGLIB proxy.
InterceptorAndDynamicMethodMatcher Internal framework class, combining a MethodInterceptor instance with a MethodMatcher for use as an element in the advisor chain.
JdkDynamicAopProxy JDK-based AopProxy implementation for the Spring AOP framework, based on JDK dynamic proxies.
ProxyConfig Convenience superclass for configuration used in creating proxies, to ensure that all proxy creators have consistent properties.
ProxyCreatorSupport Base class for proxy factories.
ProxyFactory Factory for AOP proxies for programmatic use, rather than via a bean factory.
ProxyFactoryBean FactoryBean implementation that builds an AOP proxy based on beans in Spring BeanFactory.
ProxyFactoryBean.PrototypePlaceholderAdvisor Used in the interceptor chain where we need to replace a bean with a prototype on creating a proxy.
ReflectiveMethodInvocation Spring's implementation of the AOP Alliance org.aopalliance.intercept.MethodInvocation interface, implementing the extended ProxyMethodInvocation interface.

Exception Summary
AopConfigException Exception that gets thrown on illegal AOP configuration arguments.

Package org.springframework.aop.framework Description

Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.

Spring AOP supports proxying interfaces or classes, introductions, and offers static and dynamic pointcuts.

Any Spring AOP proxy can be cast to the ProxyConfig AOP configuration interface in this package to add or remove interceptors.

The ProxyFactoryBean is a convenient way to create AOP proxies in a BeanFactory or ApplicationContext. However, proxies can be created programmatically using the ProxyFactory class.