com.ebmwebsourcing.wsstar.notification.service.basenotification.impl
Class NotificationProducerMgr

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.notification.service.basenotification.impl.NotificationProducerMgr
All Implemented Interfaces:
WsnbNotificationProducer

public class NotificationProducerMgr
extends java.lang.Object
implements WsnbNotificationProducer

Author:
tdejean - eBM WebSourcing

Constructor Summary
NotificationProducerMgr(java.util.logging.Logger logger, WstopTopicManager topicsMgr, SubscriptionManagerMgr subsMgr)
           
 
Method Summary
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.GetCurrentMessageResponse getCurrentMessage(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.GetCurrentMessage request)
          get the last notification message sent respect to a given topic
 java.lang.String getNotificationProducerEdp()
           
 javax.xml.namespace.QName getNotificationProducerInterfaceQName()
           
 javax.xml.namespace.QName getNotificationProducerService()
           
 SubscriptionManagerMgr getSubsMgr()
           
 WstopTopicManager getTopicsMgr()
           
 void setNotificationProducerEdp(java.lang.String notificationProducerEdp)
           
 void setNotificationProducerInterface(javax.xml.namespace.QName notificationProducerInterface)
           
 void setNotificationProducerService(javax.xml.namespace.QName notificationProducerService)
           
 com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse subscribe(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe request)
          Subscribe to an existing topic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationProducerMgr

public NotificationProducerMgr(java.util.logging.Logger logger,
                               WstopTopicManager topicsMgr,
                               SubscriptionManagerMgr subsMgr)
Method Detail

setNotificationProducerEdp

public void setNotificationProducerEdp(java.lang.String notificationProducerEdp)

getNotificationProducerEdp

public java.lang.String getNotificationProducerEdp()

setNotificationProducerService

public void setNotificationProducerService(javax.xml.namespace.QName notificationProducerService)

getNotificationProducerService

public javax.xml.namespace.QName getNotificationProducerService()

setNotificationProducerInterface

public void setNotificationProducerInterface(javax.xml.namespace.QName notificationProducerInterface)

getNotificationProducerInterfaceQName

public javax.xml.namespace.QName getNotificationProducerInterfaceQName()

getTopicsMgr

public WstopTopicManager getTopicsMgr()

getSubsMgr

public SubscriptionManagerMgr getSubsMgr()

getCurrentMessage

public com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.GetCurrentMessageResponse getCurrentMessage(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.GetCurrentMessage request)
                                                                                                                   throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
Description copied from interface: WsnbNotificationProducer
get the last notification message sent respect to a given topic

Specified by:
getCurrentMessage in interface WsnbNotificationProducer
Returns:
a GetCurrentMessageResponse object as described in the WS-BaseNotification (p.22)
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException

subscribe

public com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.SubscribeResponse subscribe(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe request)
                                                                                                   throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                                                                                                          WSNotificationFault,
                                                                                                          com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException
Description copied from interface: WsnbNotificationProducer
Subscribe to an existing topic

Specified by:
subscribe in interface WsnbNotificationProducer
Returns:
a SubscribeResponse object as described in the WS-BaseNotification (p.15)
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
WSNotificationFault
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException


Copyright © 2009 eBM Websourcing. All Rights Reserved.