类 EnDecryptedHandler

java.lang.Object
io.github.mangocrisp.spring.taybct.tool.core.enhance.EnDecryptedHandler
所有已实现的接口:
IMethodEnhanceHandler

public class EnDecryptedHandler extends Object implements IMethodEnhanceHandler
加解密处理器
  • 构造器详细资料

    • 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 installed
      proceed - 返回的结果