org.objectweb.joram.client.jms

Class XAQueueConnection

Implemented Interfaces:
javax.jms.Connection, javax.jms.QueueConnection, javax.jms.XAQueueConnection

public class XAQueueConnection
extends QueueConnection
implements javax.jms.XAQueueConnection

Implements the javax.jms.XAQueueConnection interface.

Field Summary

Fields inherited from class org.objectweb.joram.client.jms.Connection

repliesTable, requestsTable, sessions

Constructor Summary

XAQueueConnection(FactoryParameters factoryParameters, ConnectionItf connectionImpl)
Creates an XAQueueConnection instance.

Method Summary

javax.jms.QueueSession
createQueueSession(boolean transacted, int acknowledgeMode)
API method.
javax.jms.Session
createSession(boolean transacted, int acknowledgeMode)
Method inherited from interface XAConnection.
javax.jms.XAQueueSession
createXAQueueSession()
API method.
javax.jms.XASession
createXASession()
Method inherited from interface XAConnection.
XAResourceMngr
getXAResourceMngr()
return XAResourceMngr of this connection.

Methods inherited from class org.objectweb.joram.client.jms.QueueConnection

createConnectionConsumer, createDurableConnectionConsumer, createQueueSession

Methods inherited from class org.objectweb.joram.client.jms.Connection

close, createConnectionConsumer, createDurableConnectionConsumer, createSession, equals, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop, toString

Constructor Details

XAQueueConnection

public XAQueueConnection(FactoryParameters factoryParameters,
                         ConnectionItf connectionImpl)
            throws JMSException
Creates an XAQueueConnection instance.

Parameters:
factoryParameters - The factory parameters.
connectionImpl - The actual connection to wrap.

Method Details

createQueueSession

public javax.jms.QueueSession createQueueSession(boolean transacted,
                                                 int acknowledgeMode)
            throws JMSException
API method.
Overrides:
createQueueSession in interface QueueConnection


createSession

public javax.jms.Session createSession(boolean transacted,
                                       int acknowledgeMode)
            throws JMSException
Method inherited from interface XAConnection.
Overrides:
createSession in interface Connection


createXAQueueSession

public javax.jms.XAQueueSession createXAQueueSession()
            throws JMSException
API method.


createXASession

public javax.jms.XASession createXASession()
            throws JMSException
Method inherited from interface XAConnection.


getXAResourceMngr

public XAResourceMngr getXAResourceMngr()
return XAResourceMngr of this connection. see connector


Copyright B) 2004 Scalagent - All rights reserved