org.exolab.jmscts.core
Class ConnectionFactoryHelper

java.lang.Object
  |
  +--org.exolab.jmscts.core.ConnectionFactoryHelper

public final class ConnectionFactoryHelper
extends java.lang.Object

Helper for performing connection factory operations

Version:
$Revision: 1.3 $ $Date: 2004/01/31 13:44:24 $
Author:
Tim Anderson

Method Summary
static javax.jms.Connection createConnection(TestContext context, java.lang.String clientID)
          Create a connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createConnection

public static javax.jms.Connection createConnection(TestContext context,
                                                    java.lang.String clientID)
                                             throws javax.jms.JMSException
Create a connection. This uses the properties 'valid.user' and 'valid.password' when creating the connection.
Parameters:
context - the test context
clientID - the connection client identifier, or null, if no identifier is to be assigned to the connection
Returns:
a new connection
Throws:
javax.jms.JMSException - if any of the JMS operations fail


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.