org.jboss.wsf.spi.invocation

Class InvocationHandler

    • Constructor Detail

      • InvocationHandler

        public InvocationHandler()
    • Method Detail

      • createInvocation

        public abstract Invocation createInvocation()
        Create a container specific invocation
        Returns:
        invocation
      • invoke

        public abstract void invoke(Endpoint ep,
                                    Invocation inv)
                             throws Exception
        Invoke the the service endpoint
        Parameters:
        ep - endpoint
        inv - invocation
        Throws:
        Exception - exception
      • init

        public abstract void init(Endpoint ep)
        Initilize the invocation handler
        Parameters:
        ep - endpoint
      • onEndpointInstantiated

        public abstract void onEndpointInstantiated(Endpoint endpoint,
                                                    Invocation invocation)
                                             throws Exception
        Template method for notifying subclasses that endpoint instance have been instantiated.
        Parameters:
        endpoint - instantiated endpoint
        invocation - current invocation
        Throws:
        Exception - subclasses have to throw exception on any failure
      • onBeforeInvocation

        public abstract void onBeforeInvocation(Invocation invocation)
                                         throws Exception
        Template method for notifying subclasses that endpoint method is going to be invoked.
        Parameters:
        invocation - current invocation
        Throws:
        Exception - subclasses have to throw exception on any failure
      • onAfterInvocation

        public abstract void onAfterInvocation(Invocation invocation)
                                        throws Exception
        Template method for notifying subclasses that endpoint method invocation was completed.
        Parameters:
        invocation - current invocation
        Throws:
        Exception - subclasses have to throw exception on any failure

Copyright © 2020 JBoss, by Red Hat. All rights reserved.