org.apache.servicemix.wsn.jms
Class JmsNotificationBroker

java.lang.Object
  extended by org.apache.servicemix.wsn.AbstractEndpoint
      extended by org.apache.servicemix.wsn.AbstractNotificationBroker
          extended by org.apache.servicemix.wsn.jms.JmsNotificationBroker
All Implemented Interfaces:
NotificationBroker
Direct Known Subclasses:
JbiNotificationBroker

public abstract class JmsNotificationBroker
extends AbstractNotificationBroker


Field Summary
 
Fields inherited from class org.apache.servicemix.wsn.AbstractEndpoint
address, endpoint, manager, name
 
Constructor Summary
JmsNotificationBroker(String name)
           
 
Method Summary
protected abstract  JmsPublisher createJmsPublisher(String name)
           
protected abstract  JmsSubscription createJmsSubscription(String name)
           
protected  AbstractPublisher createPublisher(String name)
           
protected  AbstractSubscription createSubcription(String name)
           
 void destroy()
           
 ConnectionFactory getConnectionFactory()
           
 void init()
           
 void setConnectionFactory(ConnectionFactory connectionFactory)
           
 
Methods inherited from class org.apache.servicemix.wsn.AbstractNotificationBroker
createAddress, getCurrentMessage, getPublisher, handleNotify, handleRegisterPublisher, handleSubscribe, notify, registerPublisher, subscribe, unsubscribe
 
Methods inherited from class org.apache.servicemix.wsn.AbstractEndpoint
createEndpointReference, getAddress, getManager, getName, register, setAddress, setManager, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsNotificationBroker

public JmsNotificationBroker(String name)
Method Detail

init

public void init()
          throws Exception
Overrides:
init in class AbstractNotificationBroker
Throws:
Exception

destroy

public void destroy()
             throws Exception
Overrides:
destroy in class AbstractNotificationBroker
Throws:
Exception

createPublisher

protected AbstractPublisher createPublisher(String name)
Specified by:
createPublisher in class AbstractNotificationBroker

createSubcription

protected AbstractSubscription createSubcription(String name)
Specified by:
createSubcription in class AbstractNotificationBroker

createJmsSubscription

protected abstract JmsSubscription createJmsSubscription(String name)

createJmsPublisher

protected abstract JmsPublisher createJmsPublisher(String name)

getConnectionFactory

public ConnectionFactory getConnectionFactory()

setConnectionFactory

public void setConnectionFactory(ConnectionFactory connectionFactory)


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.