Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

javax::jms::XAConnection Class Reference

The XAConnection interface extends the capability of Connection by providing an XASession (optional). More...

#include <javax_jms_XAConnection.h>

Inheritance diagram for javax::jms::XAConnection:

Inheritance graph
[legend]
Collaboration diagram for javax::jms::XAConnection:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9,
  xmogBuildNumber = 2047
}
typedef ::xmog_java_array_template<
::javax::jms::XAConnection
array1D
typedef ::xmog_java_array_template<
::xmog_java_array_template<
::javax::jms::XAConnection > > 
array2D

Public Member Functions

virtual ::javax::jms::Session createSession (bool transacted, jint acknowledgeMode,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Creates an Session object.
virtual ::javax::jms::XASession createXASession (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Creates an XASession object.

Detailed Description

The XAConnection interface extends the capability of Connection by providing an XASession (optional).

The XAConnection interface is optional. JMS providers are not required to support this interface. This interface is for use by JMS providers to support transactional environments. Client programs are strongly encouraged to use the transactional support available in their environment, rather than use these XA interfaces directly.

Author:
Mark Hapner

Rich Burridge

Kate Stout


Member Function Documentation

virtual ::javax::jms::Session javax::jms::XAConnection::createSession bool  transacted,
jint  acknowledgeMode,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates an Session object.

Parameters:
transacted usage undefined
acknowledgeMode usage undefined
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.
Returns:
a Session object

Reimplemented from javax::jms::Connection.

Reimplemented in javax::jms::XAQueueConnection, and javax::jms::XATopicConnection.

virtual ::javax::jms::XASession javax::jms::XAConnection::createXASession ::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates an XASession object.

Parameters:
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.
Returns:
a newly created XASession


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 10:20:04 2006 for JMS Courier for C++ by  doxygen 1.4.1