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

javax::jms::QueueConnectionFactory Class Reference

A client uses a QueueConnectionFactory object to create QueueConnection objects with a point-to-point JMS provider. More...

#include <javax_jms_QueueConnectionFactory.h>

Inheritance diagram for javax::jms::QueueConnectionFactory:

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

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

Public Member Functions

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

Detailed Description

A client uses a QueueConnectionFactory object to create QueueConnection objects with a point-to-point JMS provider.

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

The QueueConnectionFactory object can be used to support existing code that already uses it.

Author:
Mark Hapner

Rich Burridge

Kate Stout


Member Function Documentation

virtual ::javax::jms::QueueConnection javax::jms::QueueConnectionFactory::createQueueConnection const ::java::lang::String userName,
const ::java::lang::String password,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates a queue 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 queue connection

virtual ::javax::jms::QueueConnection javax::jms::QueueConnectionFactory::createQueueConnection ::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Creates a queue 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 queue connection


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