Package com.ibm.di.systemqueue.driver
Class JMSDriverFactory
- java.lang.Object
-
- com.ibm.di.systemqueue.driver.JMSDriverFactory
-
public class JMSDriverFactory extends java.lang.ObjectThe 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
Constructors Modifier Constructor Description protectedJMSDriverFactory()Constructor for the JMSDriverFactory object
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JMSDrivergetDriver(java.lang.String aClassName, java.util.Hashtable aEnv)Instantiates a new JMS driver from the class specified in aClassName and initializes it with the environment parameters provided in aEnv.
-
-
-
Method Detail
-
getDriver
public static JMSDriver getDriver(java.lang.String aClassName, java.util.Hashtable aEnv) throws java.lang.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 DriveraEnv- Hashtable that holds Driver specific properties. Note: If there is a key with the value ofJMSDriver.ENVIRONMENT_LOGand the value of that key is not an instance ofJMSDriverLogthen that value will be replaced.- Returns:
- JMSDriver specific JMS Driver
- Throws:
java.lang.Exception- if an error occur.
-
-