Interface InvocationListener


  • public interface InvocationListener
    This interface will be implemented by those components wishing to be notified when requests are received on the server-side and when responses have been constructed on the server-side. Implementations can be registered with the FactoryRegistry.
    • Method Detail

      • notify

        void notify​(InvocationListenerBean bean)
             throws Exception
        This method will be called by JAX-WS when a message has been received or just before a response is sent to the client.
        Throws:
        Exception
      • notifyOnException

        void notifyOnException​(InvocationListenerBean bean)
        This method will be called anytime that an exception occurs within the JAX-WS server-side code flow. InvocationListener instances may change the exception being operated on by setting the org.apache.axis2.jaxws.spi.Constants.MAPPED_EXCEPTION property on either the request or response MessageContext. The value of the property should be an instance of Throwable.