org.lsst.ccs.bus.jms
Class JMSMessagingFactory
java.lang.Object
org.lsst.ccs.bus.MessagingFactory
org.lsst.ccs.bus.jms.JMSMessagingFactory
public class JMSMessagingFactory
- extends MessagingFactory
JMS implementation of the messaging factory
- Author:
- aubourg
|
Field Summary |
protected static org.lsst.ccs.utilities.logging.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.lsst.ccs.utilities.logging.Logger log
JMSMessagingFactory
public JMSMessagingFactory()
getToken
public String getToken()
- Specified by:
getToken in class MessagingFactory
addCommandListener
public void addCommandListener(CommandListener l)
- Specified by:
addCommandListener in class MessagingFactory
addCommandListener
public void addCommandListener(CommandListener l,
String selector)
- Specified by:
addCommandListener in class MessagingFactory
removeCommandListener
public void removeCommandListener(CommandListener l)
- Specified by:
removeCommandListener in class MessagingFactory
addStatusListener
public void addStatusListener(StatusListener l)
- Specified by:
addStatusListener in class MessagingFactory
addStatusListener
public void addStatusListener(StatusListener l,
String selector)
- Specified by:
addStatusListener in class MessagingFactory
removeStatusListener
public void removeStatusListener(StatusListener l)
- Specified by:
removeStatusListener in class MessagingFactory
addLogListener
public void addLogListener(LogListener l)
- Specified by:
addLogListener in class MessagingFactory
addLogListener
public void addLogListener(LogListener l,
String selector)
- Specified by:
addLogListener in class MessagingFactory
removeLogListener
public void removeLogListener(LogListener l)
- Specified by:
removeLogListener in class MessagingFactory
sendCommand
public void sendCommand(Command cmd)
- Specified by:
sendCommand in class MessagingFactory
convertToJMSPriority
public static int convertToJMSPriority(PriorityLevel level)
sendStatus
public void sendStatus(Status s)
- Specified by:
sendStatus in class MessagingFactory
sendLogEvent
public void sendLogEvent(LogEvent evt)
- Specified by:
sendLogEvent in class MessagingFactory
sendMessage
protected void sendMessage(javax.jms.ObjectMessage m,
javax.jms.Session sess,
javax.jms.MessageProducer sender)
isReplyRequested
public boolean isReplyRequested()
- Overrides:
isReplyRequested in class MessagingFactory
noAutoReply
public void noAutoReply()
- Specified by:
noAutoReply in class MessagingFactory
reply
public void reply(CommandAckOrReply reply)
- Specified by:
reply in class MessagingFactory
Copyright © 2013 LSST. All Rights Reserved.