Joram ${version}

org.objectweb.joram.client.jms
Class XATopicConnection

java.lang.Object
  extended byorg.objectweb.joram.client.jms.Connection
      extended byorg.objectweb.joram.client.jms.TopicConnection
          extended byorg.objectweb.joram.client.jms.XATopicConnection
All Implemented Interfaces:
javax.jms.Connection, javax.jms.TopicConnection, javax.jms.XAConnection, javax.jms.XATopicConnection

public class XATopicConnection
extends TopicConnection
implements javax.jms.XATopicConnection

Implements the javax.jms.XATopicConnection interface.


Constructor Summary
XATopicConnection(FactoryParameters factoryParameters, RequestChannel requestChannel)
          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
 
Methods inherited from class org.objectweb.joram.client.jms.Connection
addSession, checkClosed, cleanup, close, createConnectionConsumer, 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
 
Methods inherited from interface javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer
 

Constructor Detail

XATopicConnection

public XATopicConnection(FactoryParameters factoryParameters,
                         RequestChannel requestChannel)
                  throws javax.jms.JMSException
Creates an XATopicConnection instance.

Parameters:
factoryParameters - The factory parameters.
Throws:
JMSSecurityException - If the user identification is incorrect.
javax.jms.IllegalStateException - If the server is not listening.
javax.jms.JMSException
Method Detail

createTopicSession

public javax.jms.TopicSession createTopicSession(boolean transacted,
                                                 int acknowledgeMode)
                                          throws javax.jms.JMSException
API method.

Specified by:
createTopicSession in interface javax.jms.XATopicConnection
Overrides:
createTopicSession in class TopicConnection
Throws:
javax.jms.IllegalStateException - If the connection is closed.
javax.jms.JMSException - In case of an invalid acknowledge mode.

createXATopicSession

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

Specified by:
createXATopicSession in interface javax.jms.XATopicConnection
Throws:
javax.jms.IllegalStateException - If the connection is closed.
javax.jms.JMSException

createSession

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

Specified by:
createSession in interface javax.jms.XAConnection
Overrides:
createSession in class Connection
Throws:
javax.jms.IllegalStateException - If the connection is closed.
javax.jms.JMSException - In case of an invalid acknowledge mode.

createXASession

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

Specified by:
createXASession in interface javax.jms.XAConnection
Throws:
javax.jms.IllegalStateException - If the connection is closed.
javax.jms.JMSException

getXAResourceMngr

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


Joram ${version}

Copyright © 2005 Scalagent - All rights reserved