Class DoAsInterceptor

    • Method Detail

      • getInstance

        public static DoAsInterceptor getInstance()
        Get the singleton instance.
        Returns:
        the singleton instance
      • getFactory

        public static InterceptorFactory getFactory()
        Get a factory which returns the singleton instance.
        Returns:
        a factory which returns the singleton instance
      • processInvocation

        public Object processInvocation​(InterceptorContext context)
                                 throws Exception
        Process an invocation. The invocation can be handled directly, or passed on to the next processor in the chain.
        Specified by:
        processInvocation in interface Interceptor
        Parameters:
        context - the interceptor context
        Returns:
        the result of the invocation
        Throws:
        Exception - If the underlying invocation resulted in some exception