程序包 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.
接口概要 接口 说明 Advised Interface to be implemented by classes that hold the configuration of a factory of AOP proxies.AdvisedSupportListener Listener to be registered onProxyCreatorSupport
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 onAdvisedSupport
configuration objects.类概要 类 说明 AbstractAdvisingBeanPostProcessor Base class forBeanPostProcessor
implementations that apply a Spring AOPAdvisor
to specific beans.AbstractSingletonProxyFactoryBean Convenient superclass forFactoryBean
types that produce singleton-scoped proxy objects.AdvisedSupport Base class for AOP proxy configuration managers.AopContext Class containing static methods used to obtain information about the current AOP invocation.AopProxyUtils Utility methods for AOP proxy factories.DefaultAdvisorChainFactory A simple but definitive way of working out an advice chain for a Method, given anAdvised
object.DefaultAopProxyFactory DefaultAopProxyFactory
implementation, creating either a CGLIB proxy or a JDK dynamic proxy.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 declarative setup in a bean factory.ProxyFactoryBean FactoryBean
implementation that builds an AOP proxy based on beans in SpringBeanFactory
.ProxyProcessorSupport Base class with common functionality for proxy processors, in particular ClassLoader management and theProxyProcessorSupport.evaluateProxyInterfaces(java.lang.Class<?>, org.springframework.aop.framework.ProxyFactory)
algorithm.ReflectiveMethodInvocation Spring's implementation of the AOP AllianceMethodInvocation
interface, implementing the extendedProxyMethodInvocation
interface.异常错误概要 异常错误 说明 AopConfigException Exception that gets thrown on illegal AOP configuration arguments.