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


public interface Sender

Notification messages sender API.

Since:
2.0.4
Author:
chamerling - eBM WebSourcing

Method Summary
 javax.jbi.component.ComponentContext getComponentContext()
          Return the sender related JBI component context
 com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistrationResponse send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration)
          Deprecated. notifications without managers
 com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistrationResponse send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration, com.ebmwebsourcing.wsstar.notification.extension.api.SOAParameterType soaParameterType)
           
 void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Notify notify, com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType consumerReference)
          Send a notify on a consumerReference
 com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisherResponse send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher registerPublisher)
          Send a RegisterPublisher payload to the broker.
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
          Send a subscribe request asynchronously to the notification broker (aka SE-Notif) hardcoded Subscription manager interface
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe, QName targetServName, String targetEpName)
          Send a subscribe request asynchronously to the provided service endpoint (denoted by the given service name and endpoint name)
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.UnsubscribeResponse send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Unsubscribe unsubscribe)
           
 

Method Detail

getComponentContext

javax.jbi.component.ComponentContext getComponentContext()
Return the sender related JBI component context

Returns:
the sender related JBI component context

send

@Deprecated
com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistrationResponse send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration)
                                                                                                            throws javax.jbi.messaging.MessagingException,
                                                                                                                   com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                   PEtALSCDKException
Deprecated. notifications without managers

Throws:
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
PEtALSCDKException

send

com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistrationResponse send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration,
                                                                                                            com.ebmwebsourcing.wsstar.notification.extension.api.SOAParameterType soaParameterType)
                                                                                                            throws javax.jbi.messaging.MessagingException,
                                                                                                                   com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                   PEtALSCDKException
Throws:
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
PEtALSCDKException

send

com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisherResponse send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher registerPublisher)
                                                                                                          throws javax.jbi.messaging.MessagingException,
                                                                                                                 com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                 PEtALSCDKException
Send a RegisterPublisher payload to the broker.

Parameters:
registerPublisher -
Returns:
Throws:
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
PEtALSCDKException

send

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe,
                                                                                              QName targetServName,
                                                                                              String targetEpName)
                                                                                              throws javax.jbi.messaging.MessagingException,
                                                                                                     com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                     PEtALSCDKException
Send a subscribe request asynchronously to the provided service endpoint (denoted by the given service name and endpoint name)

Parameters:
subscribe - a subscribe request java object
targetServName - a targeted service QName (must be not null)
targetEpName - a targeted endpoint name (must be not null and not empty)
Returns:
a subscribe response java object
Throws:
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
PEtALSCDKException

send

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
                                                                                              throws javax.jbi.messaging.MessagingException,
                                                                                                     com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                     PEtALSCDKException
Send a subscribe request asynchronously to the notification broker (aka SE-Notif) hardcoded Subscription manager interface

Parameters:
subscribe - a subscribe request java object
Returns:
a subscribe response java object
Throws:
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
PEtALSCDKException

send

com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.UnsubscribeResponse send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Unsubscribe unsubscribe)
                                                                                                throws javax.jbi.messaging.MessagingException,
                                                                                                       com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                       PEtALSCDKException
Throws:
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
PEtALSCDKException

send

void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Notify notify,
          com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType consumerReference)
          throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException,
                 com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException,
                 com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                 javax.jbi.messaging.MessagingException,
                 PEtALSCDKException
Send a notify on a consumerReference

Parameters:
notify - The notify to send
consumerReference - The reference to send to
Throws:
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
javax.jbi.messaging.MessagingException
PEtALSCDKException


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