接口的使用
org.aopalliance.intercept.MethodInterceptor
使用MethodInterceptor的程序包 程序包 说明 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.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.springframework.aop中MethodInterceptor的使用
org.springframework.aop中MethodInterceptor的子接口 修饰符和类型 接口 说明 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中MethodInterceptor的使用
实现MethodInterceptor的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.adapter中MethodInterceptor的使用
实现MethodInterceptor的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.返回MethodInterceptor的org.springframework.aop.framework.adapter中的方法 修饰符和类型 方法 说明 MethodInterceptor
AdvisorAdapter. getInterceptor(Advisor advisor)
Return an AOP Alliance MethodInterceptor exposing the behavior of the given advice to an interception-based AOP framework.MethodInterceptor[]
AdvisorAdapterRegistry. getInterceptors(Advisor advisor)
Return an array of AOP Alliance MethodInterceptors to allow use of the given Advisor in an interception-based framework.MethodInterceptor[]
DefaultAdvisorAdapterRegistry. getInterceptors(Advisor advisor)
org.springframework.aop.interceptor中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的org.springframework.aop.support中的类 修饰符和类型 类 说明 class
DelegatePerTargetObjectIntroductionInterceptor
Convenient implementation of theIntroductionInterceptor
interface.class
DelegatingIntroductionInterceptor
Convenient implementation of theIntroductionInterceptor
interface.org.springframework.cache.interceptor中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的org.springframework.cache.jcache.interceptor中的类 修饰符和类型 类 说明 class
JCacheInterceptor
AOP Alliance MethodInterceptor for declarative cache management using JSR-107 caching annotations.org.springframework.context.event中MethodInterceptor的使用
实现MethodInterceptor的org.springframework.context.event中的类 修饰符和类型 类 说明 class
EventPublicationInterceptor
Interceptor
that publishes anApplicationEvent
to allApplicationListeners
registered with anApplicationEventPublisher
after each successful method invocation.org.springframework.dao.support中MethodInterceptor的使用
实现MethodInterceptor的org.springframework.dao.support中的类 修饰符和类型 类 说明 class
PersistenceExceptionTranslationInterceptor
AOP Alliance MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator.org.springframework.ejb.access中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的org.springframework.remoting.caucho中的类 修饰符和类型 类 说明 class
HessianClientInterceptor
MethodInterceptor
for accessing a Hessian service.class
HessianProxyFactoryBean
FactoryBean
for Hessian proxies.org.springframework.remoting.httpinvoker中MethodInterceptor的使用
实现MethodInterceptor的org.springframework.remoting.httpinvoker中的类 修饰符和类型 类 说明 class
HttpInvokerClientInterceptor
MethodInterceptor
for accessing an HTTP invoker service.class
HttpInvokerProxyFactoryBean
FactoryBean
for HTTP invoker proxies.org.springframework.remoting.jaxws中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的org.springframework.remoting.support中的类 修饰符和类型 类 说明 class
RemoteInvocationTraceInterceptor
AOP Alliance MethodInterceptor for tracing remote invocations.org.springframework.scheduling.annotation中MethodInterceptor的使用
实现MethodInterceptor的org.springframework.scheduling.annotation中的类 修饰符和类型 类 说明 class
AnnotationAsyncExecutionInterceptor
Specialization ofAsyncExecutionInterceptor
that delegates method execution to anExecutor
based on theAsync
annotation.org.springframework.transaction.interceptor中MethodInterceptor的使用
实现MethodInterceptor的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中MethodInterceptor的使用
实现MethodInterceptor的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.