org.ow2.petals.component.framework.api.notification
Interface Transformer


public interface Transformer

Author:
Frederic Gardes

Method Summary
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe addNotificationConsumerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
          Add the Consumer Endpoint JBI
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.NotificationMessageHolderType addNotificationProducerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.NotificationMessageHolderType notificationMessageHolderType)
          Add the Notification Producer Endpoint JBI
 com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher addNotificationProducerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher registerPublisher)
          Add the Notification Producer Endpoint JBI
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.NotificationMessageHolderType addSubscriptionManagerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.NotificationMessageHolderType notificationMessageHolderType)
          Add the Subscription Manager Endpoint JBI
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse addSubscriptionManagerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse subscribeResponse)
          Add the Subscription Manager Endpoint JBI
 void setNotificationBrokerReferenceAddress(String notificationBrokerReferenceAddress)
          Set the notificationBrokerReferenceAddress
 void setPublisherRegistrationManagerReferenceAddress(String publisherRegistrationManagerReferenceAddress)
          Set the publisherRegistrationManagerReferenceAddress
 void setSubscriptionManagerReferenceAddress(String subscriptionManagerReferenceAddress)
          Set the subscriptionManagerReferenceAddress
 javax.jbi.messaging.NormalizedMessage transformRequestOnConsume(javax.jbi.messaging.NormalizedMessage normalizedMessage, QName operation)
          Add the JBI service endpoint into the request received to the bus
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Notify transformRequestOnProducer(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Notify notify)
          Set the specific Producer Reference Set the specific Subscription Manager Remove the external address provided by the bus.
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe transformRequestOnProducer(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
          Remove the JBI service endpoint from the bus.
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Unsubscribe transformRequestOnProducer(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Unsubscribe unsubscribe)
          Remove the external address provided by the bus.
 javax.jbi.messaging.NormalizedMessage transformResponseOnConsume(javax.jbi.messaging.NormalizedMessage normalizedMessage, QName operation)
          Remove the JBI service endpoint from the bus into the response to send
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse transformResponseOnProducer(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse subscribeResponse)
          Add the JBI service endpoint into the response to the bus
 

Method Detail

transformRequestOnConsume

javax.jbi.messaging.NormalizedMessage transformRequestOnConsume(javax.jbi.messaging.NormalizedMessage normalizedMessage,
                                                                QName operation)
                                                                throws PEtALSCDKException,
                                                                       com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                       com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                                                                       javax.jbi.messaging.MessagingException,
                                                                       com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Add the JBI service endpoint into the request received to the bus

Parameters:
normalizedMessage - The in message to transform
operation - The operation
Returns:
the normalizedMessage with the great JBI service endpoint to invoke
Throws:
PEtALSCDKException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
javax.jbi.messaging.MessagingException

transformResponseOnProducer

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse transformResponseOnProducer(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse subscribeResponse)
                                                                                                                     throws PEtALSCDKException,
                                                                                                                            com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                            com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                                                                                                                            javax.jbi.messaging.MessagingException,
                                                                                                                            com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Add the JBI service endpoint into the response to the bus

Parameters:
subscribeResponse - The subscribeResponse to transform
Returns:
the subscribeResponse transformed
Throws:
PEtALSCDKException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
javax.jbi.messaging.MessagingException

transformResponseOnConsume

javax.jbi.messaging.NormalizedMessage transformResponseOnConsume(javax.jbi.messaging.NormalizedMessage normalizedMessage,
                                                                 QName operation)
                                                                 throws PEtALSCDKException,
                                                                        com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                        com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                                                                        javax.jbi.messaging.MessagingException,
                                                                        com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Remove the JBI service endpoint from the bus into the response to send

Parameters:
normalizedMessage - The out message to transform
operation - The operation
Returns:
the normalizedMessage without the JBI service endpoint to invoke
Throws:
PEtALSCDKException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException

setNotificationBrokerReferenceAddress

void setNotificationBrokerReferenceAddress(String notificationBrokerReferenceAddress)
Set the notificationBrokerReferenceAddress

Parameters:
notificationBrokerReferenceAddress - the notificationBrokerReferenceAddress to set

setPublisherRegistrationManagerReferenceAddress

void setPublisherRegistrationManagerReferenceAddress(String publisherRegistrationManagerReferenceAddress)
Set the publisherRegistrationManagerReferenceAddress

Parameters:
publisherRegistrationManagerReferenceAddress - the publisherRegistrationManagerReferenceAddress to set

setSubscriptionManagerReferenceAddress

void setSubscriptionManagerReferenceAddress(String subscriptionManagerReferenceAddress)
Set the subscriptionManagerReferenceAddress

Parameters:
subscriptionManagerReferenceAddress - the subscriptionManagerReferenceAddress to set

addNotificationConsumerSOAParameter

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe addNotificationConsumerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
                                                                                                                     throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                            com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException,
                                                                                                                            com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                                                                                                                            javax.jbi.messaging.MessagingException
Add the Consumer Endpoint JBI

Parameters:
subscribe - The subscribe
Returns:
The subscribe with the Consumer Endpoint JBI
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
javax.jbi.messaging.MessagingException

addSubscriptionManagerSOAParameter

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.NotificationMessageHolderType addSubscriptionManagerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.NotificationMessageHolderType notificationMessageHolderType)
                                                                                                                                        throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                                               com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                                                                                                                                               javax.jbi.messaging.MessagingException,
                                                                                                                                               com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Add the Subscription Manager Endpoint JBI

Parameters:
notificationMessageHolderType - The notification message holder of the notify
Returns:
The notification message holder of the notify with the Subscription Manager Endpoint JBI
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
javax.jbi.messaging.MessagingException

addSubscriptionManagerSOAParameter

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse addSubscriptionManagerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse subscribeResponse)
                                                                                                                            throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                                   com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                                                                                                                                   javax.jbi.messaging.MessagingException,
                                                                                                                                   com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Add the Subscription Manager Endpoint JBI

Parameters:
subscribeResponse - The subscribe response
Returns:
The subscribe response with the Subscription Manager Endpoint JBI
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
javax.jbi.messaging.MessagingException

addNotificationProducerSOAParameter

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.NotificationMessageHolderType addNotificationProducerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.NotificationMessageHolderType notificationMessageHolderType)
                                                                                                                                         throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                                                com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                                                                                                                                                javax.jbi.messaging.MessagingException,
                                                                                                                                                com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Add the Notification Producer Endpoint JBI

Parameters:
notificationMessageHolderType - The notification message holder of the notify
Returns:
The notification message holder of the notify with the Notification Producer Endpoint JBI
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
javax.jbi.messaging.MessagingException

addNotificationProducerSOAParameter

com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher addNotificationProducerSOAParameter(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher registerPublisher)
                                                                                                                                 throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                                        com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                                                                                                                                        javax.jbi.messaging.MessagingException,
                                                                                                                                        com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Add the Notification Producer Endpoint JBI

Parameters:
registerPublisher - The Register Publisher
Returns:
the registerPublisher with the Notification Producer Endpoint JBI
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
javax.jbi.messaging.MessagingException

transformRequestOnProducer

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe transformRequestOnProducer(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
                                                                                                            throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Remove the JBI service endpoint from the bus. Set the specific Consumer Reference

Parameters:
subscribe - The subscribe to transform
Returns:
the subscribe transformed
Throws:
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException

transformRequestOnProducer

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Unsubscribe transformRequestOnProducer(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Unsubscribe unsubscribe)
                                                                                                              throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                     com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Remove the external address provided by the bus.

Parameters:
unsubscribe - The unsubscribe to transform
Returns:
the unsubscribe transformed
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException

transformRequestOnProducer

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Notify transformRequestOnProducer(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Notify notify)
                                                                                                         throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Set the specific Producer Reference Set the specific Subscription Manager Remove the external address provided by the bus.

Parameters:
notify - The notify to transform
Returns:
the notify transformed
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.