javax.jms
Interface XAConnection

All Superinterfaces:
Connection
All Known Subinterfaces:
XAQueueConnection, XATopicConnection
All Known Implementing Classes:
ConnectionImpl, QueueConnectionImpl, TopicConnectionImpl

public interface XAConnection
extends Connection

The main destination.


Method Summary
 Session createSession(boolean transacted, int acknowledgeMode)
           
 XASession createXASession()
           
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 

Method Detail

createXASession

XASession createXASession()
                          throws JMSException
Throws:
JMSException

createSession

Session createSession(boolean transacted,
                      int acknowledgeMode)
                      throws JMSException
Specified by:
createSession in interface Connection
Throws:
JMSException