接口的使用
org.aopalliance.intercept.Interceptor
使用Interceptor的程序包 程序包 说明 org.aopalliance.intercept The AOP Alliance reflective interception abstraction.org.springframework.aop Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.org.springframework.aop.aspectj AspectJ integration package.org.springframework.aop.framework Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.org.springframework.aop.framework.adapter SPI package allowing Spring AOP framework to handle arbitrary advice types.org.springframework.aop.interceptor Provides miscellaneous interceptor implementations.org.springframework.aop.support Convenience classes for using Spring's AOP API.org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.cache.jcache.interceptor AOP-based solution for declarative caching demarcation using JSR-107 annotations.org.springframework.context.event Support classes for application events, like standard context events.org.springframework.dao.support Support classes for DAO implementations, providing miscellaneous utility methods.org.springframework.ejb.access This package contains classes that allow easy access to EJBs.org.springframework.jms.remoting Remoting classes for transparent Java-to-Java remoting via a JMS provider.org.springframework.jmx.access Provides support for accessing remote MBean resources.org.springframework.orm.hibernate5.support Classes supporting theorg.springframework.orm.hibernate5
package.org.springframework.remoting.caucho This package provides remoting classes for Caucho's Hessian protocol: a proxy factory for accessing Hessian services, and an exporter for making beans available to Hessian clients.org.springframework.remoting.httpinvoker Remoting classes for transparent Java-to-Java remoting via HTTP invokers.org.springframework.remoting.jaxws Remoting classes for Web Services via JAX-WS (the successor of JAX-RPC), as included in Java 6 and Java EE 5.org.springframework.remoting.rmi Remoting classes for conventional RMI and transparent remoting via RMI invokers.org.springframework.remoting.support Generic support classes for remoting implementations.org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.org.springframework.validation.beanvalidation Support classes for integrating a JSR-303 Bean Validation provider (such as Hibernate Validator) into a Spring ApplicationContext and in particular with Spring's data binding and validation APIs.org.aopalliance.intercept中Interceptor的使用
org.aopalliance.intercept中Interceptor的子接口 修饰符和类型 接口 说明 interface
ConstructorInterceptor
Intercepts the construction of a new object.interface
MethodInterceptor
Intercepts calls on an interface on its way to the target.org.springframework.aop中Interceptor的使用
org.springframework.aop中Interceptor的子接口 修饰符和类型 接口 说明 interface
IntroductionInterceptor
Subinterface of AOP Alliance MethodInterceptor that allows additional interfaces to be implemented by the interceptor, and available via a proxy using that interceptor.org.springframework.aop.aspectj中Interceptor的使用
实现Interceptor的org.springframework.aop.aspectj中的类 修饰符和类型 类 说明 class
AspectJAfterAdvice
Spring AOP advice wrapping an AspectJ after advice method.class
AspectJAfterThrowingAdvice
Spring AOP advice wrapping an AspectJ after-throwing advice method.class
AspectJAroundAdvice
Spring AOP around advice (MethodInterceptor) that wraps an AspectJ advice method.org.springframework.aop.framework中Interceptor的使用
参数类型为Interceptor的org.springframework.aop.framework中的方法 修饰符和类型 方法 说明 static <T> T
ProxyFactory. getProxy(Class<T> proxyInterface, Interceptor interceptor)
Create a new proxy for the given interface and interceptor.参数类型为Interceptor的org.springframework.aop.framework中的构造器 构造器 说明 ProxyFactory(Class<?> proxyInterface, Interceptor interceptor)
Create a new ProxyFactory for the given interface and interceptor.org.springframework.aop.framework.adapter中Interceptor的使用
实现Interceptor的org.springframework.aop.framework.adapter中的类 修饰符和类型 类 说明 class
AfterReturningAdviceInterceptor
Interceptor to wrap anAfterReturningAdvice
.class
MethodBeforeAdviceInterceptor
Interceptor to wrap aMethodBeforeAdvice
.class
ThrowsAdviceInterceptor
Interceptor to wrap an after-throwing advice.org.springframework.aop.interceptor中Interceptor的使用
实现Interceptor的org.springframework.aop.interceptor中的类 修饰符和类型 类 说明 class
AbstractMonitoringInterceptor
Base class for monitoring interceptors, such as performance monitors.class
AbstractTraceInterceptor
BaseMethodInterceptor
implementation for tracing.class
AsyncExecutionInterceptor
AOP AllianceMethodInterceptor
that processes method invocations asynchronously, using a givenAsyncTaskExecutor
.class
ConcurrencyThrottleInterceptor
Interceptor that throttles concurrent access, blocking invocations if a specified concurrency limit is reached.class
CustomizableTraceInterceptor
MethodInterceptor
implementation that allows for highly customizable method-level tracing, using placeholders.class
DebugInterceptor
AOP AllianceMethodInterceptor
that can be introduced in a chain to display verbose information about intercepted invocations to the logger.class
ExposeInvocationInterceptor
Interceptor that exposes the currentMethodInvocation
as a thread-local object.class
JamonPerformanceMonitorInterceptor
Performance monitor interceptor that uses JAMon library to perform the performance measurement on the intercepted method and output the stats.class
PerformanceMonitorInterceptor
Simple AOP AllianceMethodInterceptor
for performance monitoring.class
SimpleTraceInterceptor
Simple AOP AllianceMethodInterceptor
that can be introduced in a chain to display verbose trace information about intercepted method invocations, with method entry and method exit info.org.springframework.aop.support中Interceptor的使用
实现Interceptor的org.springframework.aop.support中的类 修饰符和类型 类 说明 class
DelegatePerTargetObjectIntroductionInterceptor
Convenient implementation of theIntroductionInterceptor
interface.class
DelegatingIntroductionInterceptor
Convenient implementation of theIntroductionInterceptor
interface.org.springframework.cache.interceptor中Interceptor的使用
实现Interceptor的org.springframework.cache.interceptor中的类 修饰符和类型 类 说明 class
CacheInterceptor
AOP Alliance MethodInterceptor for declarative cache management using the common Spring caching infrastructure (Cache
).org.springframework.cache.jcache.interceptor中Interceptor的使用
实现Interceptor的org.springframework.cache.jcache.interceptor中的类 修饰符和类型 类 说明 class
JCacheInterceptor
AOP Alliance MethodInterceptor for declarative cache management using JSR-107 caching annotations.org.springframework.context.event中Interceptor的使用
实现Interceptor的org.springframework.context.event中的类 修饰符和类型 类 说明 class
EventPublicationInterceptor
Interceptor
that publishes anApplicationEvent
to allApplicationListeners
registered with anApplicationEventPublisher
after each successful method invocation.org.springframework.dao.support中Interceptor的使用
实现Interceptor的org.springframework.dao.support中的类 修饰符和类型 类 说明 class
PersistenceExceptionTranslationInterceptor
AOP Alliance MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator.org.springframework.ejb.access中Interceptor的使用
实现Interceptor的org.springframework.ejb.access中的类 修饰符和类型 类 说明 class
AbstractRemoteSlsbInvokerInterceptor
Base class for interceptors proxying remote Stateless Session Beans.class
AbstractSlsbInvokerInterceptor
Base class for AOP interceptors invoking local or remote Stateless Session Beans.class
LocalSlsbInvokerInterceptor
Invoker for a local Stateless Session Bean.class
LocalStatelessSessionProxyFactoryBean
ConvenientFactoryBean
for local Stateless Session Bean (SLSB) proxies.class
SimpleRemoteSlsbInvokerInterceptor
Basic invoker for a remote Stateless Session Bean.class
SimpleRemoteStatelessSessionProxyFactoryBean
ConvenientFactoryBean
for remote SLSB proxies.org.springframework.jms.remoting中Interceptor的使用
实现Interceptor的org.springframework.jms.remoting中的类 修饰符和类型 类 说明 class
JmsInvokerClientInterceptor
MethodInterceptor
for accessing a JMS-based remote service.class
JmsInvokerProxyFactoryBean
FactoryBean for JMS invoker proxies.org.springframework.jmx.access中Interceptor的使用
实现Interceptor的org.springframework.jmx.access中的类 修饰符和类型 类 说明 class
MBeanClientInterceptor
MethodInterceptor
that routes calls to an MBean running on the suppliedMBeanServerConnection
.class
MBeanProxyFactoryBean
Creates a proxy to a managed resource running either locally or remotely.org.springframework.orm.hibernate5.support中Interceptor的使用
实现Interceptor的org.springframework.orm.hibernate5.support中的类 修饰符和类型 类 说明 class
OpenSessionInterceptor
Simple AOP AllianceMethodInterceptor
implementation that binds a new HibernateSession
for each method invocation, if none bound before.org.springframework.remoting.caucho中Interceptor的使用
实现Interceptor的org.springframework.remoting.caucho中的类 修饰符和类型 类 说明 class
HessianClientInterceptor
MethodInterceptor
for accessing a Hessian service.class
HessianProxyFactoryBean
FactoryBean
for Hessian proxies.org.springframework.remoting.httpinvoker中Interceptor的使用
实现Interceptor的org.springframework.remoting.httpinvoker中的类 修饰符和类型 类 说明 class
HttpInvokerClientInterceptor
MethodInterceptor
for accessing an HTTP invoker service.class
HttpInvokerProxyFactoryBean
FactoryBean
for HTTP invoker proxies.org.springframework.remoting.jaxws中Interceptor的使用
实现Interceptor的org.springframework.remoting.jaxws中的类 修饰符和类型 类 说明 class
JaxWsPortClientInterceptor
MethodInterceptor
for accessing a specific port of a JAX-WS service.class
JaxWsPortProxyFactoryBean
FactoryBean
for a specific port of a JAX-WS service.org.springframework.remoting.rmi中Interceptor的使用
实现Interceptor的org.springframework.remoting.rmi中的类 修饰符和类型 类 说明 class
JndiRmiClientInterceptor
MethodInterceptor
for accessing RMI services from JNDI.class
JndiRmiProxyFactoryBean
FactoryBean
for RMI proxies from JNDI.class
RmiClientInterceptor
MethodInterceptor
for accessing conventional RMI services or RMI invokers.class
RmiProxyFactoryBean
FactoryBean
for RMI proxies, supporting both conventional RMI services and RMI invokers.org.springframework.remoting.support中Interceptor的使用
实现Interceptor的org.springframework.remoting.support中的类 修饰符和类型 类 说明 class
RemoteInvocationTraceInterceptor
AOP Alliance MethodInterceptor for tracing remote invocations.org.springframework.scheduling.annotation中Interceptor的使用
实现Interceptor的org.springframework.scheduling.annotation中的类 修饰符和类型 类 说明 class
AnnotationAsyncExecutionInterceptor
Specialization ofAsyncExecutionInterceptor
that delegates method execution to anExecutor
based on theAsync
annotation.org.springframework.transaction.interceptor中Interceptor的使用
实现Interceptor的org.springframework.transaction.interceptor中的类 修饰符和类型 类 说明 class
TransactionInterceptor
AOP Alliance MethodInterceptor for declarative transaction management using the common Spring transaction infrastructure (PlatformTransactionManager
/ReactiveTransactionManager
).org.springframework.validation.beanvalidation中Interceptor的使用
实现Interceptor的org.springframework.validation.beanvalidation中的类 修饰符和类型 类 说明 class
MethodValidationInterceptor
An AOP AllianceMethodInterceptor
implementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods.