org.objectweb.fractal.bf.connectors.jms
Class JmsModule
java.lang.Object
org.objectweb.fractal.bf.connectors.jms.JmsModule
public class JmsModule
- extends Object
The JMS module is used by the stub and the skeleton to retrieve various JMS objects on
the JNDI and to initiate the JMS sessions necessary to interact with them.
|
Field Summary |
protected Logger |
log
Logger for this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected Logger log
- Logger for this object.
JmsModule
public JmsModule(JmsAttributes jmsAttributes)
getJmsCnx
public javax.jms.Connection getJmsCnx()
getSession
public javax.jms.Session getSession()
getDestination
public javax.jms.Destination getDestination()
getResponseSession
public javax.jms.Session getResponseSession()
getResponseDestination
public javax.jms.Destination getResponseDestination()
start
public void start()
throws javax.jms.JMSException,
NamingException
- Retrieves or creates JMS objects on the JNDI and starts a JMS connection and two
sessions to interact with them.
- Throws:
javax.jms.JMSException
NamingException
close
public void close()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.