com.ibm.di.systemqueue.driver
Class JMSDriverFactory

java.lang.Object
  extended by com.ibm.di.systemqueue.driver.JMSDriverFactory

public class JMSDriverFactory
extends Object

The JMS Driver Factory is an internal class that is used by components like the JMS Connector and the System Queue to create and return an appropriate JMS Driver object providing access to the desired JMS Provider.


Constructor Summary
protected JMSDriverFactory()
          Constructor for the JMSDriverFactory object
 
Method Summary
static JMSDriver getDriver(String aClassName, Hashtable aEnv)
          Instantiates a new JMS driver from the class specified in aClassName and initializes it with the environment parameters provided in aEnv.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSDriverFactory

protected JMSDriverFactory()
Constructor for the JMSDriverFactory object

Method Detail

getDriver

public static JMSDriver getDriver(String aClassName,
                                  Hashtable aEnv)
                           throws Exception
Instantiates a new JMS driver from the class specified in aClassName and initializes it with the environment parameters provided in aEnv.

Parameters:
aClassName - The fully qualified name of the class that will be used as JMS Driver
aEnv - Hashtable that holds Driver specific properties. Note: If there is a key with the value of JMSDriver.ENVIRONMENT_LOG and the value of that key is not an instance of JMSDriverLog then that value will be replaced.
Returns:
JMSDriver specific JMS Driver
Throws:
Exception - if an error occur.