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

javax::jms::TopicConnectionFactory Class Reference

A client uses a TopicConnectionFactory object to create TopicConnection objects with a publish/subscribe JMS provider. More...

#include <javax_jms_TopicConnectionFactory.h>

Inheritance diagram for javax::jms::TopicConnectionFactory:

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

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

Public Member Functions

virtual ::javax::jms::TopicConnection createTopicConnection (const ::java::lang::String &userName, const ::java::lang::String &password,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Creates a topic connection with the specified user identity.
virtual ::javax::jms::TopicConnection createTopicConnection (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Creates a topic connection with the default user identity.

Detailed Description

A client uses a TopicConnectionFactory object to create TopicConnection objects with a publish/subscribe JMS provider.

A TopicConnectionFactory can be used to create a TopicConnection, from which specialized topic-related objects can be created. A more general, and recommended approach is to use the ConnectionFactory object.

The TopicConnectionFactory object should be used to support existing code.

Author:
Mark Hapner

Rich Burridge

Kate Stout


Member Function Documentation

virtual ::javax::jms::TopicConnection javax::jms::TopicConnectionFactory::createTopicConnection const ::java::lang::String userName,
const ::java::lang::String password,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates a topic connection with the specified user identity.

The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called.

Parameters:
userName the caller's user name
password the caller's password
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 topic connection

virtual ::javax::jms::TopicConnection javax::jms::TopicConnectionFactory::createTopicConnection ::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates a topic connection with the default user identity.

The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called.

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 topic connection


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