|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.jms.MQeConnectionFactory | +--com.ibm.mqe.jms.MQeJNDIConnectionFactory | +--com.ibm.mqe.jms.MQeJNDIQueueConnectionFactory
MQeJNDIQueueConnectionFactory
extends MQeQueueConnectionFactory
and adds support for storing and retrieving the object using JNDI.
More information on configuring an MQeJNDIQueueConnectionFactory can be found in Chapter 10 of the WebSphere MQ Everyplace Application Programming Guide.
MQeConnectionFactory
,
MQeQueueConnectionFactory
,
Serialized FormConstructor Summary | |
MQeJNDIQueueConnectionFactory()
Default constructor. |
|
MQeJNDIQueueConnectionFactory(java.lang.String iniFileName)
Constructor taking a String containing the name of a initialization file. |
Method Summary | |
javax.jms.QueueConnection |
createQueueConnection()
Creates a queue connection with the default user identity. |
javax.jms.QueueConnection |
createQueueConnection(java.lang.String username,
java.lang.String password)
Creates a queue connection with the specified user identity. |
Methods inherited from class com.ibm.mqe.jms.MQeJNDIConnectionFactory |
createConnection, createConnection |
Methods inherited from class com.ibm.mqe.jms.MQeConnectionFactory |
getAuthenticatorClass, getClientID, getDescription, getDUPSOKCount, getIniFileName, getJMSXEnabled, getShutdownDelay, isSQLAllowed, setAuthenticatorClass, setClientID, setDescription, setDUPSOKCount, setIniFileName, setJMSXEnabled, setShutdownDelay, setVerboseStartup, startQueueManager, stopQueueManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.naming.Referenceable |
getReference |
Constructor Detail |
public MQeJNDIQueueConnectionFactory()
public MQeJNDIQueueConnectionFactory(java.lang.String iniFileName)
MQeJNDIQueueConnectionFactory cf = new MQeJNDIQueueConnectionFactory();
cf.setIniFileName("filename.ini");
Method Detail |
public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException
Connection.start
method
is explicitly called.
javax.jms.JMSException
- if the JMS provider fails to create the queue
connection due to some internal error.public javax.jms.QueueConnection createQueueConnection(java.lang.String username, java.lang.String password) throws javax.jms.JMSException
Connection.start
method
is explicitly called.
password
- the caller's password
javax.jms.JMSException
- if the JMS provider fails to create the queue
connection due to some internal error.
javax.jms.JMSSecurityException
- if client authentication fails due to
an invalid user name or password.
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |