Index

A B C F G I J M N O P S T 
All Classes and Interfaces|All Packages|Serialized Form

A

Advice - Interface in org.aopalliance.aop
Tag interface for Advice.
after(Object, Method, Object[], Object) - Method in interface org.miaixz.bus.proxy.Aspect
目标方法执行后的操作 如果 target.method 抛出异常且 Aspect.afterException(java.lang.Object, java.lang.reflect.Method, java.lang.Object[], java.lang.Throwable) 返回true,则不会执行此操作 如果 Aspect.afterException(java.lang.Object, java.lang.reflect.Method, java.lang.Object[], java.lang.Throwable) 返回false,则无论target.method是否抛出异常,均会执行此操作
afterException(Object, Method, Object[], Throwable) - Method in interface org.miaixz.bus.proxy.Aspect
目标方法抛出异常时的操作
aspect - Variable in class org.miaixz.bus.proxy.invoker.Interceptor
 
Aspect - Interface in org.miaixz.bus.proxy
切面接口
AspectException - Exception Class in org.aopalliance.aop
Superclass for all AOP infrastructure exceptions.
AspectException(String) - Constructor for exception class org.aopalliance.aop.AspectException
Constructor for AspectException.
AspectException(String, Throwable) - Constructor for exception class org.aopalliance.aop.AspectException
Constructor for AspectException.

B

before(Object, Method, Object[]) - Method in interface org.miaixz.bus.proxy.Aspect
目标方法执行前的操作
Builder - Class in org.miaixz.bus.proxy
代理工具类
Builder() - Constructor for class org.miaixz.bus.proxy.Builder
 

C

construct(ConstructorInvocation) - Method in interface org.aopalliance.intercept.ConstructorInterceptor
Implement this method to perform extra treatments before and after the construction of a new object.
ConstructorInterceptor - Interface in org.aopalliance.intercept
Intercepts the construction of a new object.
ConstructorInvocation - Interface in org.aopalliance.intercept
Description of an invocation to a constructor, given to an interceptor upon constructor-call.
createEngine() - Static method in class org.miaixz.bus.proxy.Factory
根据用户引入Cglib与否创建代理工厂

F

Factory - Class in org.miaixz.bus.proxy
代理引擎简单工厂 根据用户引入代理库的不同,产生不同的代理引擎对象
Factory() - Constructor for class org.miaixz.bus.proxy.Factory
 

G

getArguments() - Method in interface org.aopalliance.intercept.Invocation
Get the arguments as an array object.
getArguments() - Method in interface org.miaixz.bus.proxy.invoker.Invocation
获取参数值
getArguments() - Method in class org.miaixz.bus.proxy.invoker.InvocationInvoker
获取拦截的方法的参数列表
getArguments() - Method in class org.miaixz.bus.proxy.invoker.JoinPointInvoker
 
getConstructor() - Method in interface org.aopalliance.intercept.ConstructorInvocation
Get the constructor being called.
getEngine() - Static method in class org.miaixz.bus.proxy.Builder
获取动态代理引擎
getEngine() - Static method in class org.miaixz.bus.proxy.Factory
获得单例的ProxyEngine
getMethod() - Method in interface org.aopalliance.intercept.MethodInvocation
Get the method being called.
getMethod() - Method in interface org.miaixz.bus.proxy.invoker.Invocation
获取方法
getMethod() - Method in class org.miaixz.bus.proxy.invoker.InvocationInvoker
获取拦截的方法
getMethod() - Method in class org.miaixz.bus.proxy.invoker.JoinPointInvoker
 
getNames() - Method in class org.miaixz.bus.proxy.invoker.InvocationInvoker
获取拦截的方法的参数列表
getNames() - Method in class org.miaixz.bus.proxy.invoker.JoinPointInvoker
 
getNames() - Method in interface org.miaixz.bus.proxy.invoker.ProxyChain
获取参数名称
getProxy() - Method in interface org.miaixz.bus.proxy.invoker.Invocation
获取目标实例
getProxy() - Method in class org.miaixz.bus.proxy.invoker.InvocationInvoker
获取要拦截的目标实例
getProxy() - Method in class org.miaixz.bus.proxy.invoker.JoinPointInvoker
 
getStaticPart() - Method in interface org.aopalliance.intercept.Joinpoint
Return the static part of this joinpoint.
getTarget() - Method in class org.miaixz.bus.proxy.invoker.Interceptor
获取目标对象
getThis() - Method in interface org.aopalliance.intercept.Joinpoint
Return the object that holds the current joinpoint's static part.

I

intercept(Object, Method, Object[], MethodProxy) - Method in class org.miaixz.bus.proxy.spring.SpringCglibInterceptor
 
Interceptor - Class in org.miaixz.bus.proxy.invoker
简单拦截器,保存了被拦截的对象和Aspect实现
Interceptor - Interface in org.aopalliance.intercept
This interface represents a generic interceptor.
Interceptor(Object, Aspect) - Constructor for class org.miaixz.bus.proxy.invoker.Interceptor
构造
Invocation - Interface in org.aopalliance.intercept
This interface represents an invocation in the program.
Invocation - Interface in org.miaixz.bus.proxy.invoker
调用者方法
InvocationInvoker - Class in org.miaixz.bus.proxy.invoker
切面实现类
InvocationInvoker(ProceedingJoinPoint) - Constructor for class org.miaixz.bus.proxy.invoker.InvocationInvoker
 
invoke(Object, Method, Object[]) - Method in class org.miaixz.bus.proxy.jdk.JdkInterceptor
 
invoke(MethodInvocation) - Method in interface org.aopalliance.intercept.MethodInterceptor
Implement this method to perform extra treatments before and after the invocation.
isCglibProxy(Object) - Static method in class org.miaixz.bus.proxy.Builder
是否Cglib代理对象
isJdkProxy(Object) - Static method in class org.miaixz.bus.proxy.Builder
是否为JDK代理对象
isProxy(Object) - Static method in class org.miaixz.bus.proxy.Builder
是否为代理对象,判断JDK代理或Cglib代理

J

JdkInterceptor - Class in org.miaixz.bus.proxy.jdk
JDK实现的动态代理切面
JdkInterceptor(Object, Aspect) - Constructor for class org.miaixz.bus.proxy.jdk.JdkInterceptor
构造
JdkProvider - Class in org.miaixz.bus.proxy.jdk
JDK实现的切面代理
JdkProvider() - Constructor for class org.miaixz.bus.proxy.jdk.JdkProvider
 
Joinpoint - Interface in org.aopalliance.intercept
This interface represents a generic runtime joinpoint (in the AOP terminology).
JoinPointInvoker - Class in org.miaixz.bus.proxy.invoker
 
JoinPointInvoker(Object, Invocation) - Constructor for class org.miaixz.bus.proxy.invoker.JoinPointInvoker
 

M

MethodInterceptor - Interface in org.aopalliance.intercept
Intercepts calls on an interface on its way to the target.
MethodInvocation - Interface in org.aopalliance.intercept
Description of an invocation to a method, given to an interceptor upon method-call.

N

newProxyInstance(ClassLoader, InvocationHandler, Class<?>...) - Static method in class org.miaixz.bus.proxy.Builder
创建动态代理对象 动态代理对象的创建原理是: 假设创建的代理对象名为 $Proxy0 1、根据传入的interfaces动态生成一个类,实现interfaces中的接口 2、通过传入的classloder将刚生成的类加载到jvm中。
newProxyInstance(InvocationHandler, Class<?>...) - Static method in class org.miaixz.bus.proxy.Builder
创建动态代理对象

O

org.aopalliance - package org.aopalliance
AOP相关处理类
org.aopalliance.aop - package org.aopalliance.aop
这个包为AOP提供了最通用和最通用的接口
org.aopalliance.intercept - package org.aopalliance.intercept
提供了一组用于拦截的接口机制
org.miaixz.bus.proxy - package org.miaixz.bus.proxy
代理工厂 简化动态代理
org.miaixz.bus.proxy.invoker - package org.miaixz.bus.proxy.invoker
 
org.miaixz.bus.proxy.jdk - package org.miaixz.bus.proxy.jdk
JDK方式切面实现,基于Proxy封装
org.miaixz.bus.proxy.spring - package org.miaixz.bus.proxy.spring
Spring-cglib切面实现

P

proceed() - Method in interface org.aopalliance.intercept.Joinpoint
Proceed to the next interceptor in the chain.
proceed() - Method in interface org.miaixz.bus.proxy.invoker.Invocation
执行方法
proceed() - Method in class org.miaixz.bus.proxy.invoker.InvocationInvoker
执行方法
proceed() - Method in class org.miaixz.bus.proxy.invoker.JoinPointInvoker
 
proceed(Object[]) - Method in class org.miaixz.bus.proxy.invoker.InvocationInvoker
执行方法
proceed(Object[]) - Method in class org.miaixz.bus.proxy.invoker.JoinPointInvoker
 
proceed(Object[]) - Method in interface org.miaixz.bus.proxy.invoker.ProxyChain
执行方法
Provider - Interface in org.miaixz.bus.proxy
动态代理引擎接口
proxy(T, Class<? extends Aspect>) - Static method in class org.miaixz.bus.proxy.Builder
使用切面代理对象
proxy(T, Class<? extends Aspect>) - Method in interface org.miaixz.bus.proxy.Provider
创建代理
proxy(T, Aspect) - Static method in class org.miaixz.bus.proxy.Builder
使用切面代理对象
proxy(T, Aspect) - Method in class org.miaixz.bus.proxy.jdk.JdkProvider
 
proxy(T, Aspect) - Method in interface org.miaixz.bus.proxy.Provider
创建代理
proxy(T, Aspect) - Method in class org.miaixz.bus.proxy.spring.SpringCglibProvider
 
ProxyChain - Interface in org.miaixz.bus.proxy.invoker
拦截层

S

SpringCglibInterceptor - Class in org.miaixz.bus.proxy.spring
Spring-cglib实现的动态代理切面
SpringCglibInterceptor(Object, Aspect) - Constructor for class org.miaixz.bus.proxy.spring.SpringCglibInterceptor
构造
SpringCglibProvider - Class in org.miaixz.bus.proxy.spring
基于Spring-cglib的切面代理工厂
SpringCglibProvider() - Constructor for class org.miaixz.bus.proxy.spring.SpringCglibProvider
 

T

target - Variable in class org.miaixz.bus.proxy.invoker.Interceptor
 
A B C F G I J M N O P S T 
All Classes and Interfaces|All Packages|Serialized Form