接口 IMethodEnhanceHandler

所有已知实现类:
EnDecryptedHandler

public interface IMethodEnhanceHandler
方法增强处理器
  • 方法详细资料

    • before

      default void before(Method method, String[] argumentsNames, Object[] arguments, Object aThis, AccessibleObject staticPart)
      方法执行之前操作
      参数:
      method - 执行的方法
      argumentsNames - 执行的方法的参数名
      arguments - 执行的方法的参数
      aThis - 当前对象
      staticPart - The static part is an accessible object on which a chain of interceptors is installed
    • after

      default void after(Method method, String[] argumentsNames, Object[] arguments, Object aThis, AccessibleObject staticPart, AtomicReference<Object> proceed)
      方法执行之后操作
      参数:
      method - 执行的方法
      argumentsNames - 执行的方法的参数名
      arguments - 执行的方法的参数
      aThis - 当前对象
      staticPart - The static part is an accessible object on which a chain of interceptors is installed
      proceed - 返回的结果
    • afterThrows

      default void afterThrows(Method method, String[] argumentsNames, Object[] arguments, Object aThis, AccessibleObject staticPart, Throwable throwable)
      方法执行报错之后操作
      参数:
      method - 执行的方法
      argumentsNames - 执行的方法的参数名
      arguments - 执行的方法的参数
      aThis - 当前对象
      staticPart - The static part is an accessible object on which a chain of interceptors is installed
      throwable - 抛出异常