类 EnDecryptedHandler
java.lang.Object
io.github.mangocrisp.spring.taybct.tool.core.enhance.EnDecryptedHandler
- 所有已实现的接口:
IMethodEnhanceHandler
加解密处理器
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
after
(Method method, String[] argumentsNames, Object[] arguments, Object aThis, AccessibleObject staticPart, AtomicReference<Object> proceed) 方法执行之后操作void
before
(Method method, String[] argumentsNames, Object[] arguments, Object aThis, AccessibleObject staticPart) 方法执行之前操作<T extends Annotation>
TcheckAnnotation
(Supplier<Annotation[]> annotationSupplier, Class<T> classes) 获取所有的参数里面有没有指定的注解从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 io.github.mangocrisp.spring.taybct.tool.core.enhance.IMethodEnhanceHandler
afterThrows
-
构造器详细资料
-
EnDecryptedHandler
public EnDecryptedHandler()
-
-
方法详细资料
-
before
public void before(Method method, String[] argumentsNames, Object[] arguments, Object aThis, AccessibleObject staticPart) 从接口复制的说明:IMethodEnhanceHandler
方法执行之前操作- 指定者:
before
在接口中IMethodEnhanceHandler
- 参数:
method
- 执行的方法argumentsNames
- 执行的方法的参数名arguments
- 执行的方法的参数aThis
- 当前对象staticPart
- The static part is an accessible object on which a chain of interceptors is installed
-
checkAnnotation
public <T extends Annotation> T checkAnnotation(Supplier<Annotation[]> annotationSupplier, Class<T> classes) 获取所有的参数里面有没有指定的注解- 类型参数:
T
- 需要找的注解的类型- 参数:
annotationSupplier
- 注解数组classes
- 需要找到的注解- 返回:
- 找到的注解或者是 null
-
after
public void after(Method method, String[] argumentsNames, Object[] arguments, Object aThis, AccessibleObject staticPart, AtomicReference<Object> proceed) 从接口复制的说明:IMethodEnhanceHandler
方法执行之后操作- 指定者:
after
在接口中IMethodEnhanceHandler
- 参数:
method
- 执行的方法argumentsNames
- 执行的方法的参数名arguments
- 执行的方法的参数aThis
- 当前对象staticPart
- The static part is an accessible object on which a chain of interceptors is installedproceed
- 返回的结果
-