| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JMSDriver
The JMS Driver interface. It exposes the public method that are specific for different JMS Drivers. getQueueFactory() and getTopicFactory() returns specific QueueConnectionFactory/TopicConnectionFactory of the JMS Driver.
| Field Summary | |
|---|---|
static java.lang.String | 
ENVIRONMENT_LOG
This is the key on which is mapped an object of type JMSDriverLog
 during the call to the initialize(Hashtable) method. | 
static java.lang.String | 
JMS_DRIVER_TMS_FILE
This is the name of the file where the JMS Drivers' translated messages are placed.  | 
| 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(java.util.Hashtable aEnv)
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.  | 
| Field Detail | 
|---|
static final java.lang.String ENVIRONMENT_LOG
JMSDriverLog
 during the call to the initialize(Hashtable) method.
static final java.lang.String JMS_DRIVER_TMS_FILE
| Method Detail | 
|---|
void initialize(java.util.Hashtable aEnv)
                throws java.lang.Exception
aEnv - Hashtable that holds Driver properties
java.lang.Exception - if JMS Driver cannot be initialized
javax.jms.QueueConnectionFactory getQueueFactory()
                                                 throws java.lang.Exception
java.lang.Exception - if QueueConnectionFactory cannot be created
javax.jms.TopicConnectionFactory getTopicFactory()
                                                 throws java.lang.Exception
java.lang.Exception - if TopicConnectionFactory cannot be created
void terminate()
               throws java.lang.Exception
java.lang.Exception - if error while terminating occurs.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||