cgl.narada.wsinfra.deployment
Interface ServiceMessageListener


public interface ServiceMessageListener

In our prototype hosting environment, service endpoints can register listeners for both soapMessages and for exceptions. Such endpoints need to first implement this interface.


Method Summary
 void onException(Exception exception)
          When an exception has occurred this registered listener will be called.
 void onMessage(SOAPMessage soapMessage)
          Upon the receipt of a message.
 

Method Detail

onMessage

public void onMessage(SOAPMessage soapMessage)
Upon the receipt of a message.


onException

public void onException(Exception exception)
When an exception has occurred this registered listener will be called.