Class PageCheckMethodInterceptor

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    @Component("tapirPageCheckMethodInterceptor")
    @Scope("prototype")
    public class PageCheckMethodInterceptor
    extends java.lang.Object
    implements org.aopalliance.intercept.MethodInterceptor
    Asserts that a specific page is active before proceeding the invocation to the intercepted method. The check is performed by calling PageActiveCheckExtensions.assertPageActive(PageActiveCheck) with pageActiveCheck.
    Since:
    2.0.0
    Author:
    Oliver Libutzki <[email protected]>, Nils Christian Ehmke <[email protected]>
    • Constructor Detail

    • Method Detail

      • invoke

        public java.lang.Object invoke​(org.aopalliance.intercept.MethodInvocation invocation)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface org.aopalliance.intercept.MethodInterceptor
        Throws:
        java.lang.Throwable