org.apache.servicemix.wsn.jbi
Class JbiPublisher

java.lang.Object
  extended by org.apache.servicemix.wsn.AbstractEndpoint
      extended by org.apache.servicemix.wsn.AbstractPublisher
          extended by org.apache.servicemix.wsn.jms.JmsPublisher
              extended by org.apache.servicemix.wsn.jbi.JbiPublisher
All Implemented Interfaces:
org.apache.activemq.advisory.ConsumerListener, PublisherRegistrationManager

public class JbiPublisher
extends JmsPublisher


Field Summary
 
Fields inherited from class org.apache.servicemix.wsn.AbstractPublisher
demand, publisherReference, topic
 
Fields inherited from class org.apache.servicemix.wsn.AbstractEndpoint
address, manager, name
 
Constructor Summary
JbiPublisher(String name)
           
 
Method Summary
protected  void destroySubscription(Object subscription)
           
 ComponentContext getContext()
           
 WSNLifeCycle getLifeCycle()
           
 String getNotificationBrokerAddress()
           
 void setLifeCycle(WSNLifeCycle lifeCycle)
           
 void setNotificationBrokerAddress(String notificationBrokerAddress)
           
protected  String[] split(String uri)
           
protected  Object startSubscription()
           
protected  void validatePublisher(RegisterPublisher registerPublisherRequest)
           
 
Methods inherited from class org.apache.servicemix.wsn.jms.JmsPublisher
destroy, getConnection, notify, onConsumerEvent, setConnection, start
 
Methods inherited from class org.apache.servicemix.wsn.AbstractPublisher
create, createAddress, destroyRegistration
 
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

JbiPublisher

public JbiPublisher(String name)
Method Detail

getNotificationBrokerAddress

public String getNotificationBrokerAddress()

setNotificationBrokerAddress

public void setNotificationBrokerAddress(String notificationBrokerAddress)

startSubscription

protected Object startSubscription()
Specified by:
startSubscription in class JmsPublisher

destroySubscription

protected void destroySubscription(Object subscription)
Specified by:
destroySubscription in class JmsPublisher

validatePublisher

protected void validatePublisher(RegisterPublisher registerPublisherRequest)
                          throws InvalidTopicExpressionFault,
                                 PublisherRegistrationFailedFault,
                                 PublisherRegistrationRejectedFault,
                                 ResourceUnknownFault,
                                 TopicNotSupportedFault
Overrides:
validatePublisher in class JmsPublisher
Throws:
InvalidTopicExpressionFault
PublisherRegistrationFailedFault
PublisherRegistrationRejectedFault
ResourceUnknownFault
TopicNotSupportedFault

split

protected String[] split(String uri)

getContext

public ComponentContext getContext()

getLifeCycle

public WSNLifeCycle getLifeCycle()

setLifeCycle

public void setLifeCycle(WSNLifeCycle lifeCycle)


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