接口的使用
org.aopalliance.intercept.MethodInterceptor
使用MethodInterceptor的程序包
程序包
说明
Aspect Programming
AspectJ integration package.
SPI package allowing AOP framework to handle arbitrary advice types.
Provides miscellaneous interceptor implementations.
-
cn.taketoday.aop中MethodInterceptor的使用
修饰符和类型接口说明interfaceSub-interface of AOP Alliance MethodInterceptor that allows additional interfaces to be implemented by the interceptor, and available via a proxy using that interceptor.修饰符和类型方法说明DefaultInterceptorChainFactory.getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass) InterceptorChainFactory.getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given advisor chain configuration. -
cn.taketoday.aop.aspectj中MethodInterceptor的使用
修饰符和类型类说明classFramework AOP advice wrapping an AspectJ after advice method.classFramework AOP advice wrapping an AspectJ after-throwing advice method.classFramework AOP around advice (MethodInterceptor) that wraps an AspectJ advice method. -
cn.taketoday.aop.framework中MethodInterceptor的使用
修饰符和类型方法说明final MethodInterceptorTargetInvocation.currentAdvice(int index) TargetInvocation.getDynamicInterceptors(AdvisedSupport config) AdvisedSupport.getInterceptors(Method method, Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given method, based on this configuration.TargetInvocation.getInterceptors()参数类型为MethodInterceptor的cn.taketoday.aop.framework中的构造器限定符构造器说明DefaultMethodInvocation(Object proxy, Object target, Method method, Class<?> targetClass, Object[] arguments, MethodInterceptor[] advices) DynamicStandardMethodInvocation(Object proxy, Object bean, TargetInvocation target, Object[] arguments, MethodInterceptor[] advices) -
cn.taketoday.aop.framework.adapter中MethodInterceptor的使用
修饰符和类型类说明classInterceptor to wrap anAfterReturningAdvice.classInterceptor to wrap aMethodBeforeAdvice.classInterceptor to wrap an after-throwing advice.修饰符和类型方法说明AdvisorAdapter.getInterceptor(Advisor advisor) Return an AOP Alliance MethodInterceptor exposing the behavior of the given advice to an interception-based AOP framework.AdvisorAdapterRegistry.getInterceptors(Advisor advisor) Return an array of AOP Alliance MethodInterceptors to allow use of the given Advisor in an interception-based framework.DefaultAdvisorAdapterRegistry.getInterceptors(Advisor advisor) -
cn.taketoday.aop.interceptor中MethodInterceptor的使用
修饰符和类型类说明classBase class for monitoring interceptors, such as performance monitors.classBaseMethodInterceptorimplementation for tracing.classAOP AllianceMethodInterceptorthat processes method invocations asynchronously, using a givenAsyncTaskExecutor.classInterceptor that throttles concurrent access, blocking invocations if a specified concurrency limit is reached.classMethodInterceptorimplementation that allows for highly customizable method-level tracing, using placeholders.classAOP AllianceMethodInterceptorthat can be introduced in a chain to display verbose information about intercepted invocations to the logger.final classInterceptor that exposes the currentMethodInvocationas a thread-local object.classPerformance monitor interceptor that uses JAMon library to perform the performance measurement on the intercepted method and output the stats.classSimple AOP AllianceMethodInterceptorfor performance monitoring.classSimple AOP AllianceMethodInterceptorthat can be introduced in a chain to display verbose trace information about intercepted method invocations, with method entry and method exit info. -
cn.taketoday.aop.support中MethodInterceptor的使用
修饰符和类型类说明classConvenient implementation of theIntroductionInterceptorinterface.classConvenient implementation of theIntroductionInterceptorinterface.final classRuntime MethodInterceptor参数类型为MethodInterceptor的cn.taketoday.aop.support中的构造器