org.ow2.petals.binding.soap.listener.outgoing
Class WSNotifier

java.lang.Object
  extended by org.ow2.petals.binding.soap.listener.outgoing.AbstractExternalServiceCaller
      extended by org.ow2.petals.binding.soap.listener.outgoing.WSNotifier
All Implemented Interfaces:
ExternalServiceCaller

public class WSNotifier
extends AbstractExternalServiceCaller

Author:
chamerling - eBM WebSourcing

Field Summary
 
Fields inherited from class org.ow2.petals.binding.soap.listener.outgoing.AbstractExternalServiceCaller
logger, SOAP_VERSION_11, SOAP_VERSION_12, soapContext
 
Constructor Summary
WSNotifier(SoapComponentContext soapContext, java.util.logging.Logger logger)
          Creates a new instance of WSNotifier
 
Method Summary
 void call(org.ow2.petals.component.framework.api.message.Exchange exchange, org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions cdkExtensions, org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides)
          Process the message exchange (call an external WS).
 org.apache.axiom.om.OMElement createNotificationContentFromJBIMessage(org.ow2.petals.component.framework.api.message.Exchange exchange)
          Create the notification message from the JBI message exchange
 java.lang.String getCallerType()
          Returns the type of dispatcher.
protected  void sendNotification(javax.xml.namespace.QName topicName, org.ow2.petals.component.framework.api.message.Exchange exchange)
          Send a notification to all the topic subscribers
 
Methods inherited from class org.ow2.petals.binding.soap.listener.outgoing.AbstractExternalServiceCaller
handleException, handleException, handleException, retrieveAddressing, retrieveAddRoot, retrieveBasicAuthentication, retrieveChunkedMode, retrieveCleanupTransport, retrieveDefaultSOAPAction, retrieveProxySettings, retrieveServiceAddress, retrieveSOAPEnvelopeNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSNotifier

public WSNotifier(SoapComponentContext soapContext,
                  java.util.logging.Logger logger)
Creates a new instance of WSNotifier

Parameters:
soapContext -
logger -
Method Detail

call

public void call(org.ow2.petals.component.framework.api.message.Exchange exchange,
                 org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions cdkExtensions,
                 org.ow2.petals.component.framework.jbidescriptor.generated.Provides provides)
Description copied from interface: ExternalServiceCaller
Process the message exchange (call an external WS).


sendNotification

protected void sendNotification(javax.xml.namespace.QName topicName,
                                org.ow2.petals.component.framework.api.message.Exchange exchange)
Send a notification to all the topic subscribers

Parameters:
topicName -
exchange -

getCallerType

public java.lang.String getCallerType()
Description copied from interface: ExternalServiceCaller
Returns the type of dispatcher.

Returns:

createNotificationContentFromJBIMessage

public org.apache.axiom.om.OMElement createNotificationContentFromJBIMessage(org.ow2.petals.component.framework.api.message.Exchange exchange)
                                                                      throws java.lang.Exception
Create the notification message from the JBI message exchange

Parameters:
exchange -
Returns:
Throws:
java.lang.Exception


Copyright © 2005-2010 OW2 Consortium. All Rights Reserved.