Class AspectJMethodBeforeAdvice

    • Method Detail

      • before

        public void before(java.lang.reflect.Method method,
                           java.lang.Object[] args,
                           java.lang.Object target)
                    throws java.lang.Throwable
        Description copied from interface: MethodBeforeAdvice
        Callback before a given method is invoked.
        Specified by:
        before in interface MethodBeforeAdvice
        method - method being invoked
        args - arguments to the method
        target - target of the method invocation. May be null.
        java.lang.Throwable - if this object wishes to abort the call. Any exception thrown will be returned to the caller if it's allowed by the method signature. Otherwise the exception will be wrapped as a runtime exception.