Package org.apache.cxf.wsn.jms
Class JmsNotificationBroker
- java.lang.Object
-
- org.apache.cxf.wsn.AbstractEndpoint
-
- org.apache.cxf.wsn.AbstractNotificationBroker
-
- 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, endpointEpr, manager, name
-
-
Constructor Summary
Constructors Constructor Description JmsNotificationBroker(String name)JmsNotificationBroker(String name, javax.jms.ConnectionFactory connectionFactory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract JmsPublishercreateJmsPublisher(String name)protected abstract JmsSubscriptioncreateJmsSubscription(String name)protected AbstractPublishercreatePublisher(String name)protected AbstractSubscriptioncreateSubscription(String name)voiddestroy()javax.jms.ConnectionFactorygetConnectionFactory()protected GetResourcePropertyResponsehandleGetResourceProperty(QName property)voidinit()voidsetConnectionFactory(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, getWSDLLocation, 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
-
-
-
-
Method Detail
-
init
public void init() throws Exception- Overrides:
initin classAbstractNotificationBroker- Throws:
Exception
-
destroy
public void destroy() throws Exception- Overrides:
destroyin classAbstractNotificationBroker- Throws:
Exception
-
createPublisher
protected AbstractPublisher createPublisher(String name)
- Specified by:
createPublisherin classAbstractNotificationBroker
-
createSubscription
protected AbstractSubscription createSubscription(String name)
- Specified by:
createSubscriptionin classAbstractNotificationBroker
-
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:
handleGetResourcePropertyin classAbstractNotificationBroker- Throws:
ResourceUnavailableFaultResourceUnknownFaultInvalidResourcePropertyQNameFault
-
-