类 ExposeInvocationInterceptor

    • 字段详细资料

      • ADVISOR

        public static final Advisor ADVISOR
        Singleton advisor for this class. Use in preference to INSTANCE when using Spring AOP, as it prevents the need to create a new Advisor to wrap the instance.
    • 方法详细资料

      • currentInvocation

        public static MethodInvocation currentInvocation()
                                                  throws IllegalStateException
        Return the AOP Alliance MethodInvocation object associated with the current invocation.
        返回:
        the invocation object associated with the current invocation
        抛出:
        IllegalStateException - if there is no AOP invocation in progress, or if the ExposeInvocationInterceptor was not added to this interceptor chain
      • getOrder

        public int getOrder()
        从接口复制的说明: Ordered
        Get the order value of this object.

        Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority (somewhat analogous to Servlet load-on-startup values).

        Same order values will result in arbitrary sort positions for the affected objects.

        指定者:
        getOrder 在接口中 Ordered
        返回:
        the order value
        另请参阅:
        Ordered.HIGHEST_PRECEDENCE, Ordered.LOWEST_PRECEDENCE