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

javax::jms::XAQueueConnection Class Reference

An XAQueueConnection provides the same create options as QueueConnection (optional). More...

#include <javax_jms_XAQueueConnection.h>

Inheritance diagram for javax::jms::XAQueueConnection:

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

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::XAQueueConnection
array1D
typedef ::xmog_java_array_template<
::xmog_java_array_template<
::javax::jms::XAQueueConnection > > 
array2D

Public Member Functions

virtual ::javax::jms::QueueSession createQueueSession (bool transacted, jint acknowledgeMode,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Creates an XAQueueSession object.
virtual ::javax::jms::Session createSession (bool transacted, jint acknowledgeMode,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 The method representing the Java method javax.jms.Connection.createSession().
virtual ::javax::jms::XAQueueSession createXAQueueSession (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Creates an XAQueueSession object.

Detailed Description

An XAQueueConnection provides the same create options as QueueConnection (optional).

The only difference is that an XAConnection is by definition transacted.

The XAQueueConnection 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::QueueSession javax::jms::XAQueueConnection::createQueueSession bool  transacted,
jint  acknowledgeMode,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates an XAQueueSession 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 newly created XAQueueSession

Reimplemented from javax::jms::QueueConnection.

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

The method representing the Java method javax.jms.Connection.createSession().

Parameters:
transacted 
acknowledgeMode 
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.

Reimplemented from javax::jms::XAConnection.

virtual ::javax::jms::XAQueueSession javax::jms::XAQueueConnection::createXAQueueSession ::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates an XAQueueSession 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 XAQueueSession


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