|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.joram.client.jms.Connection
org.objectweb.joram.client.jms.XAConnection
Connection used within global transactions; an instance of this class acts as a resource manager.
| Constructor Summary | |
XAConnection(FactoryParameters factoryParameters,
RequestChannel requestChannel)
Creates a XAConnection instance. |
|
| Method Summary | |
javax.jms.Session |
createSession(boolean transacted,
int acknowledgeMode)
Creates a non-XA session. |
javax.jms.XASession |
createXASession()
Creates a XA session. |
XAResourceMngr |
getXAResourceMngr()
return XAResourceMngr of this connection. |
| Methods inherited from class org.objectweb.joram.client.jms.Connection |
addSession, checkClosed, cleanup, close, createConnectionConsumer, createDurableConnectionConsumer, equals, getClientID, getExceptionListener, getMetaData, getRequestMultiplexer, setClientID, setExceptionListener, start, stop, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.jms.Connection |
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
| Constructor Detail |
public XAConnection(FactoryParameters factoryParameters,
RequestChannel requestChannel)
throws javax.jms.JMSException
XAConnection instance.
factoryParameters - The factory parameters.
JMSSecurityException - If the user identification is incorrect.
javax.jms.IllegalStateException - If the server is not listening.
javax.jms.JMSException| Method Detail |
public javax.jms.Session createSession(boolean transacted,
int acknowledgeMode)
throws javax.jms.JMSException
createSession in interface javax.jms.XAConnectioncreateSession in class Connectionjavax.jms.IllegalStateException - If the connection is closed.
javax.jms.JMSException - In case of an invalid acknowledge mode.
public javax.jms.XASession createXASession()
throws javax.jms.JMSException
createXASession in interface javax.jms.XAConnectionjavax.jms.IllegalStateException - If the connection is closed.
javax.jms.JMSExceptionpublic XAResourceMngr getXAResourceMngr()
|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||