|
|||||||||||
| 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 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 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(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 String ENVIRONMENT_LOG
JMSDriverLog
during the call to the initialize(Hashtable) method.
static final String JMS_DRIVER_TMS_FILE
| Method Detail |
|---|
void initialize(Hashtable aEnv)
throws Exception
aEnv - Hashtable that holds Driver properties
Exception - if JMS Driver cannot be initialized
javax.jms.QueueConnectionFactory getQueueFactory()
throws Exception
Exception - if QueueConnectionFactory cannot be created
javax.jms.TopicConnectionFactory getTopicFactory()
throws Exception
Exception - if TopicConnectionFactory cannot be created
void terminate()
throws Exception
Exception - if error while terminating occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||