org.springframework.aop.framework |
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.
|
Java Source File Name | Type | Comment |
AbstractSingletonProxyFactoryBean.java | Class | Convenient proxy factory bean superclass for proxy factory
beans that create only singletons. |
Advised.java | Interface | Interface to be implemented by classes that hold the configuration
of a factory of AOP proxies. |
AdvisedSupport.java | Class | Base class for AOP proxy configuration managers. |
AdvisedSupportListener.java | Interface | Listener to be registered on
ProxyCreatorSupport objects
Allows for receiving callbacks on activation and change of advice. |
AdvisorChainFactory.java | Interface | Factory interface for advisor chains. |
AdvisorChainFactoryUtils.java | Class | Utility methods for use by
AdvisorChainFactory implementations. |
AopConfigException.java | Class | Exception that gets thrown on illegal AOP configuration arguments. |
AopContext.java | Class | Class containing static methods used to obtain information about the current AOP invocation.
The currentProxy() method is usable if the AOP framework is configured to
expose the current proxy (not the default). |
AopInfrastructureBean.java | Interface | Marker interface that indicates a bean that is part of Spring's
AOP infrastructure. |
AopProxy.java | Interface | Delegate interface for a configured AOP proxy, allowing for the creation
of actual proxy objects. |
AopProxyFactory.java | Interface | Interface to be implemented by factories that are able to create
AOP proxies based on
AdvisedSupport configuration objects. |
AopProxyUtils.java | Class | Utility methods for AOP proxy factories. |
Cglib2AopProxy.java | Class | CGLIB2-based
AopProxy implementation for the Spring AOP framework.
Requires CGLIB 2.1+ on the classpath..
As of Spring 2.0, earlier CGLIB versions are not supported anymore.
Objects of this type should be obtained through proxy factories,
configured by an
AdvisedSupport object. |
DefaultAdvisorChainFactory.java | Class | A simple but definitive way of working out an advice chain for a Method,
given an
Advised object. |
DefaultAopProxyFactory.java | Class | Default
AopProxyFactory implementation,
creating either a CGLIB proxy or a JDK dynamic proxy. |
HashMapCachingAdvisorChainFactory.java | Class | AdvisorChainFactory implementation that used to cache by method. |
InterceptorAndDynamicMethodMatcher.java | Class | Internal framework class, combining a MethodInterceptor instance
with a MethodMatcher for use as an element in the advisor chain. |
JdkDynamicAopProxy.java | Class | JDK-based
AopProxy implementation for the Spring AOP framework,
based on JDK 1.3+
java.lang.reflect.Proxy dynamic proxies .
Creates a dynamic proxy, implementing the interfaces exposed by
the AopProxy. |
ProxyConfig.java | Class | Convenience superclass for configuration used in creating proxies,
to ensure that all proxy creators have consistent properties. |
ProxyCreatorSupport.java | Class | Base class for proxy factories. |
ProxyFactory.java | Class | Factory for AOP proxies for programmatic use, rather than via a bean
factory. |
ProxyFactoryBean.java | Class | org.springframework.beans.factory.FactoryBean implementation that builds an
AOP proxy based on beans in Spring
org.springframework.beans.factory.BeanFactory .
org.aopalliance.intercept.MethodInterceptor MethodInterceptors and
org.springframework.aop.Advisor Advisors are identified by a list of bean
names in the current bean factory, specified through the "interceptorNames" property.
The last entry in the list can be the name of a target bean or a
org.springframework.aop.TargetSource ; however, it is normally preferable
to use the "targetName"/"target"/"targetSource" properties instead.
Global interceptors and advisors can be added at the factory level. |
ReflectiveMethodInvocation.java | Class | Spring's implementation of the AOP Alliance
org.aopalliance.intercept.MethodInvocation interface,
implementing the extended
org.springframework.aop.ProxyMethodInvocation interface.
Invokes the target object using reflection. |