org.lsst.ccs.bus.jms
Class TopicSessionFactory

java.lang.Object
  extended by org.lsst.ccs.bus.jms.TopicSessionFactory

public class TopicSessionFactory
extends Object

JMS Topic session factory

Author:
aubourg

Field Summary
protected static TopicSessionFactory instance
           
 
Constructor Summary
TopicSessionFactory()
           
 
Method Summary
 javax.jms.MessageProducer getCommandPublisher(javax.jms.Session sess)
           
 javax.jms.MessageProducer getCommandReplyPublisher(javax.jms.Session sess, javax.jms.Destination dest)
           
 javax.jms.MessageConsumer getCommandSubscriber(javax.jms.Session sess)
           
 javax.jms.MessageConsumer getCommandSubscriber(javax.jms.Session sess, String messageSelector)
           
 javax.jms.Topic getCommandTopic()
           
 javax.jms.MessageProducer getLogPublisher(javax.jms.Session sess)
           
 javax.jms.MessageConsumer getLogSubscriber(javax.jms.Session sess, String messageSelector)
           
 javax.jms.Topic getLogTopic()
           
static TopicSessionFactory getSessionFactory()
           
 javax.jms.MessageProducer getStatusPublisher(javax.jms.Session sess)
           
 javax.jms.MessageConsumer getStatusSubscriber(javax.jms.Session sess)
           
 javax.jms.MessageConsumer getStatusSubscriber(javax.jms.Session sess, String messageSelector)
           
 javax.jms.Topic getStatusTopic()
           
 javax.jms.Session getTopicSession()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static TopicSessionFactory instance
Constructor Detail

TopicSessionFactory

public TopicSessionFactory()
Method Detail

getSessionFactory

public static TopicSessionFactory getSessionFactory()

reset

public void reset()

getTopicSession

public javax.jms.Session getTopicSession()

getCommandTopic

public javax.jms.Topic getCommandTopic()

getStatusTopic

public javax.jms.Topic getStatusTopic()

getLogTopic

public javax.jms.Topic getLogTopic()

getCommandPublisher

public javax.jms.MessageProducer getCommandPublisher(javax.jms.Session sess)

getStatusPublisher

public javax.jms.MessageProducer getStatusPublisher(javax.jms.Session sess)

getLogPublisher

public javax.jms.MessageProducer getLogPublisher(javax.jms.Session sess)

getCommandSubscriber

public javax.jms.MessageConsumer getCommandSubscriber(javax.jms.Session sess)

getCommandSubscriber

public javax.jms.MessageConsumer getCommandSubscriber(javax.jms.Session sess,
                                                      String messageSelector)

getStatusSubscriber

public javax.jms.MessageConsumer getStatusSubscriber(javax.jms.Session sess)

getStatusSubscriber

public javax.jms.MessageConsumer getStatusSubscriber(javax.jms.Session sess,
                                                     String messageSelector)

getLogSubscriber

public javax.jms.MessageConsumer getLogSubscriber(javax.jms.Session sess,
                                                  String messageSelector)

getCommandReplyPublisher

public javax.jms.MessageProducer getCommandReplyPublisher(javax.jms.Session sess,
                                                          javax.jms.Destination dest)


Copyright © 2012 LSST. All Rights Reserved.