com.ebmwebsourcing.wsstar.notification.service.brokerednotification.impl
Class RegistrationsMgr

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.notification.service.brokerednotification.impl.RegistrationsMgr
All Implemented Interfaces:
WsnbrPublisherRegistrationManager, WsnbrRegisterPublisher

public class RegistrationsMgr
extends java.lang.Object
implements WsnbrRegisterPublisher, WsnbrPublisherRegistrationManager

Author:
tdejean - eBM WebSourcing

Constructor Summary
RegistrationsMgr(java.util.logging.Logger logger, WstopTopicManager topicsMgr)
           
 
Method Summary
 com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistrationResponse destroyRegistration(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration request)
          destroy an existing Publisher registration (Topics, ...)
 java.util.List<com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType> getPublisherEdpRefOfRegistration(java.util.List<java.lang.String> registrationIds)
           
 com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType getPublisherEdpRefOfRegistration(java.lang.String registrationId)
           
 com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisherResponse registerPublisher(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher request)
          Register a new {topic, notification producer}(*) (*: Publisher may not be the notification producer)
 void setNotificationBrokerEdp(java.lang.String notificationBrokerEdp)
           
 void setNotificationBrokerInterface(javax.xml.namespace.QName notificationBrokerInterface)
           
 void setNotificationBrokerService(javax.xml.namespace.QName notificationBrokerService)
           
 void setPublisherRegistrationMgrEdpAddress(java.lang.String publisherRegisterEdpAddress)
           
 void setPublisherRegistrationMgrInterfaceQName(javax.xml.namespace.QName publisherRegisterInterfaceQName)
           
 void setPublisherRegistrationMgrServiceQName(javax.xml.namespace.QName publisherRegisterServiceQName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationsMgr

public RegistrationsMgr(java.util.logging.Logger logger,
                        WstopTopicManager topicsMgr)
Method Detail

setPublisherRegistrationMgrEdpAddress

public void setPublisherRegistrationMgrEdpAddress(java.lang.String publisherRegisterEdpAddress)

setPublisherRegistrationMgrInterfaceQName

public void setPublisherRegistrationMgrInterfaceQName(javax.xml.namespace.QName publisherRegisterInterfaceQName)

setPublisherRegistrationMgrServiceQName

public void setPublisherRegistrationMgrServiceQName(javax.xml.namespace.QName publisherRegisterServiceQName)

setNotificationBrokerEdp

public void setNotificationBrokerEdp(java.lang.String notificationBrokerEdp)

setNotificationBrokerService

public void setNotificationBrokerService(javax.xml.namespace.QName notificationBrokerService)

setNotificationBrokerInterface

public void setNotificationBrokerInterface(javax.xml.namespace.QName notificationBrokerInterface)

getPublisherEdpRefOfRegistration

public com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType getPublisherEdpRefOfRegistration(java.lang.String registrationId)
                                                                                                           throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException

getPublisherEdpRefOfRegistration

public java.util.List<com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType> getPublisherEdpRefOfRegistration(java.util.List<java.lang.String> registrationIds)
                                                                                                                           throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException

registerPublisher

public com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisherResponse registerPublisher(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher request)
                                                                                                                       throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                              WSNotificationFault,
                                                                                                                              com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Description copied from interface: WsnbrRegisterPublisher
Register a new {topic, notification producer}(*) (*: Publisher may not be the notification producer)

Specified by:
registerPublisher in interface WsnbrRegisterPublisher
Returns:
a RegisterPublisherResponse object as describe in WS-BrokeredNotification spec (p.18)
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
WSNotificationFault
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException

destroyRegistration

public com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistrationResponse destroyRegistration(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration request)
                                                                                                                           throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                                                  WSNotificationFault,
                                                                                                                                  com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Description copied from interface: WsnbrPublisherRegistrationManager
destroy an existing Publisher registration (Topics, ...)

Specified by:
destroyRegistration in interface WsnbrPublisherRegistrationManager
Returns:
a DestroyRegistrationResponse object as describe in WS-BrokeredNotification spec (p.25)
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
WSNotificationFault
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException


Copyright © 2009 eBM Websourcing. All Rights Reserved.