|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.di.systemqueue.driver.IBMMQe
public class IBMMQe
The MQe JMS Driver implementation. It initialize the JMS Driver and provides specific way for obtaining JMS QueueConnectionFactory. MQe is limited for only one QueueConnectionFactory at a JVM so the Driver creates only one QueueConnectionFactory.
Field Summary | |
---|---|
protected JMSDriverLog |
log
|
static String |
MQE_FILE_INI
JMS Driver property name used for ini file location |
static String |
MQE_JMS_BROKER
|
protected static ResourceHash |
resHash
|
Fields inherited from interface com.ibm.di.systemqueue.driver.JMSDriver |
---|
ENVIRONMENT_LOG, JMS_DRIVER_TMS_FILE |
Constructor Summary | |
---|---|
IBMMQe()
|
Method Summary | |
---|---|
javax.jms.QueueConnectionFactory |
getQueueFactory()
This method retrieves the provider-specific javax.jms.QueueConnectionFactory object |
javax.jms.TopicConnectionFactory |
getTopicFactory()
This method retrieves the provider-specific javax.jms.TopicConnectionFactory object |
void |
initialize(Hashtable env)
The initialize(Hastable env) method is passed a java.util.Hashtable object which stores provider-specific parameters, which can be used for connecting to a specific instance of the JMS server. |
void |
terminate()
This is a call-back method used to notify the JMS Driver so it could clean any used resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MQE_FILE_INI
public static final String MQE_JMS_BROKER
protected JMSDriverLog log
protected static final ResourceHash resHash
Constructor Detail |
---|
public IBMMQe()
Method Detail |
---|
public void initialize(Hashtable env) throws Exception
initialize
in interface JMSDriver
env
- Hashtable that holds Driver properties
Exception
- if JMS Driver cannot be initializedpublic javax.jms.QueueConnectionFactory getQueueFactory() throws Exception
getQueueFactory
in interface JMSDriver
Exception
- if QueueConnectionFactory cannot be createdpublic javax.jms.TopicConnectionFactory getTopicFactory() throws Exception
getTopicFactory
in interface JMSDriver
Exception
- if TopicConnectionFactory cannot be createdpublic void terminate() throws Exception
terminate
in interface JMSDriver
Exception
- if error while terminating occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |