Apache CXF API

org.apache.cxf.wsn.jms
Class JmsNotificationBroker

java.lang.Object
  extended by org.apache.cxf.wsn.AbstractEndpoint
      extended by org.apache.cxf.wsn.AbstractNotificationBroker
          extended by org.apache.cxf.wsn.jms.JmsNotificationBroker
All Implemented Interfaces:
EndpointMBean, NotificationBrokerMBean, NotificationBroker, GetResourceProperty
Direct Known Subclasses:
JaxwsNotificationBroker

public abstract class JmsNotificationBroker
extends AbstractNotificationBroker


Field Summary
 
Fields inherited from class org.apache.cxf.wsn.AbstractNotificationBroker
FIXED_TOPIC_SET_QNAME, NAMESPACE_URI, PREFIX, TOPIC_EXPRESSION_DIALECT_QNAME, TOPIC_EXPRESSION_QNAME, TOPIC_SET_QNAME
 
Fields inherited from class org.apache.cxf.wsn.AbstractEndpoint
address, endpoint, manager, name
 
Constructor Summary
JmsNotificationBroker(String name)
           
JmsNotificationBroker(String name, javax.jms.ConnectionFactory connectionFactory)
           
 
Method Summary
protected abstract  JmsPublisher createJmsPublisher(String name)
           
protected abstract  JmsSubscription createJmsSubscription(String name)
           
protected  AbstractPublisher createPublisher(String name)
           
protected  AbstractSubscription createSubscription(String name)
           
 void destroy()
           
 javax.jms.ConnectionFactory getConnectionFactory()
           
protected  GetResourcePropertyResponse handleGetResourceProperty(QName property)
           
 void init()
           
 void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
           
 
Methods inherited from class org.apache.cxf.wsn.AbstractNotificationBroker
getAnonymousPublisher, getCurrentMessage, getMBeanName, getPublisher, getPublisher, getPublisher, getResourceProperty, getSubscription, getSubscriptions, handleNotify, handleRegisterPublisher, handleSubscribe, notify, registerPublisher, subscribe, unsubscribe
 
Methods inherited from class org.apache.cxf.wsn.AbstractEndpoint
getAddress, getEpr, getManager, getName, register, setAddress, setManager, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.wsn.EndpointMBean
getAddress, getName, register, unregister
 

Constructor Detail

JmsNotificationBroker

public JmsNotificationBroker(String name)

JmsNotificationBroker

public JmsNotificationBroker(String name,
                             javax.jms.ConnectionFactory connectionFactory)
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

createSubscription

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

createJmsSubscription

protected abstract JmsSubscription createJmsSubscription(String name)

createJmsPublisher

protected abstract JmsPublisher createJmsPublisher(String name)

getConnectionFactory

public javax.jms.ConnectionFactory getConnectionFactory()

setConnectionFactory

public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)

handleGetResourceProperty

protected GetResourcePropertyResponse handleGetResourceProperty(QName property)
                                                         throws ResourceUnavailableFault,
                                                                ResourceUnknownFault,
                                                                InvalidResourcePropertyQNameFault
Overrides:
handleGetResourceProperty in class AbstractNotificationBroker
Throws:
ResourceUnavailableFault
ResourceUnknownFault
InvalidResourcePropertyQNameFault

Apache CXF API

Apache CXF