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


public interface NotificationController

The controller of notification

Author:
Frederic Gardes

Method Summary
 com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistrationResponse destroyRegistration(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration)
          Destroy the registration of the publisher on the broker, by an expert way Manage the wrapping from the address to the JBI endpoints
Use the publisher registration management, received on the register publisher, to destroy the registration
 void destroyRegistration(String registrationUuid)
          Destroy the registration of the publisher on the broker, by a basic way
 Wsdl getConsumerWsdl()
          Get the wsdl of the consumer
 Wsdl getProducerWsdl()
          Get the wsdl of the producer
 com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisherResponse registerPublisher(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher registerPublisher)
          Register the publisher on the broker, by an expert way
Manage the wrapping from the address to the JBI endpoints
Store the consumer received to notify, and the publisher registration management received to destroy the registration later
 String registerPublisher(String topicExpressionNamespace, String topicExpression)
          Register the publisher on the broker, by a basic way
 

Method Detail

registerPublisher

String registerPublisher(String topicExpressionNamespace,
                         String topicExpression)
                         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,
                                PEtALSCDKException
Register the publisher on the broker, by a basic way

Parameters:
topicExpressionNamespace - The namespace of the topic expression. For example: "http://petals.ow2.org/topic"
topicExpression - The topic expression. For example: "component/cdk//*[@wstop:topic='true']"
Returns:
The uuid of the registration, to provide on the destroy registration
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
PEtALSCDKException

registerPublisher

com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisherResponse registerPublisher(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher registerPublisher)
                                                                                                                       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,
                                                                                                                              PEtALSCDKException
Register the publisher on the broker, by an expert way
Manage the wrapping from the address to the JBI endpoints
Store the consumer received to notify, and the publisher registration management received to destroy the registration later

Parameters:
registerPublisher - The register publisher, externally created by the wsstar factory
Returns:
The response of the registration, with the uuid to provide on the destroy registration
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
javax.jbi.messaging.MessagingException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
PEtALSCDKException

destroyRegistration

void destroyRegistration(String registrationUuid)
                         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,
                                PEtALSCDKException
Destroy the registration of the publisher on the broker, by a basic way

Parameters:
registrationUuid - The uuid provided by the registration
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
PEtALSCDKException
javax.jbi.messaging.MessagingException

destroyRegistration

com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistrationResponse destroyRegistration(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration)
                                                                                                                           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,
                                                                                                                                  PEtALSCDKException
Destroy the registration of the publisher on the broker, by an expert way Manage the wrapping from the address to the JBI endpoints
Use the publisher registration management, received on the register publisher, to destroy the registration

Parameters:
destroyRegistration - The destroy registration, externally created by the wsstar factory
Returns:
The response of the destroy registration
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
PEtALSCDKException
javax.jbi.messaging.MessagingException

getConsumerWsdl

Wsdl getConsumerWsdl()
Get the wsdl of the consumer

Returns:
the wsdl of the consumer service

getProducerWsdl

Wsdl getProducerWsdl()
Get the wsdl of the producer

Returns:
the wsdl of the producer service


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