org.objectweb.joram.client.jms

Class XATopicConnection

Implemented Interfaces:
javax.jms.Connection, javax.jms.TopicConnection, javax.jms.XATopicConnection

public class XATopicConnection
extends TopicConnection
implements javax.jms.XATopicConnection

Implements the javax.jms.XATopicConnection interface.

Field Summary

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

repliesTable, requestsTable, sessions

Constructor Summary

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

Method Summary

javax.jms.Session
createSession(boolean transacted, int acknowledgeMode)
Method inherited from interface XAConnection.
javax.jms.TopicSession
createTopicSession(boolean transacted, int acknowledgeMode)
API method.
javax.jms.XASession
createXASession()
Method inherited from interface XAConnection.
javax.jms.XATopicSession
createXATopicSession()
API method.
XAResourceMngr
getXAResourceMngr()
return XAResourceMngr of this connection.

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

createConnectionConsumer, createDurableConnectionConsumer, createTopicSession

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

XATopicConnection

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

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

Method Details

createSession

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


createTopicSession

public javax.jms.TopicSession createTopicSession(boolean transacted,
                                                 int acknowledgeMode)
            throws JMSException
API method.
Overrides:
createTopicSession in interface TopicConnection


createXASession

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


createXATopicSession

public javax.jms.XATopicSession createXATopicSession()
            throws JMSException
API method.


getXAResourceMngr

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


Copyright B) 2004 Scalagent - All rights reserved