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

javax::jms::XATopicConnection Class Reference

An XATopicConnection provides the same create options as TopicConnection (optional). More...

#include <javax_jms_XATopicConnection.h>

Inheritance diagram for javax::jms::XATopicConnection:

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

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

Public Member Functions

virtual ::javax::jms::ConnectionConsumer createDurableConnectionConsumer (const ::javax::jms::Topic &topic, const ::java::lang::String &subscriptionName, const ::java::lang::String &messageSelector, const ::javax::jms::ServerSessionPool &sessionPool, jint maxMessages,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 The method representing the Java method javax.jms.Connection.createDurableConnectionConsumer().
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::TopicSession createTopicSession (bool transacted, jint acknowledgeMode,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Creates an XATopicSession object.
virtual ::javax::jms::XATopicSession createXATopicSession (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Creates an XATopicSession object.

Detailed Description

An XATopicConnection provides the same create options as TopicConnection (optional).

The Topic connections created are transactional.

The XATopicConnection 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::ConnectionConsumer javax::jms::XATopicConnection::createDurableConnectionConsumer const ::javax::jms::Topic topic,
const ::java::lang::String subscriptionName,
const ::java::lang::String messageSelector,
const ::javax::jms::ServerSessionPool sessionPool,
jint  maxMessages,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

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

Parameters:
topic 
subscriptionName 
messageSelector 
sessionPool 
maxMessages 
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::TopicConnection.

virtual ::javax::jms::Session javax::jms::XATopicConnection::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::TopicSession javax::jms::XATopicConnection::createTopicSession bool  transacted,
jint  acknowledgeMode,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates an XATopicSession 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 XA topic session

Reimplemented from javax::jms::TopicConnection.

virtual ::javax::jms::XATopicSession javax::jms::XATopicConnection::createXATopicSession ::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates an XATopicSession 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 XA topic session


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