com.ibm.mq.jms
Class MQTopicConnectionFactory
- java.lang.Object
- com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl
- com.ibm.msg.client.jms.internal.JmsPropertyContextImpl
- com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl
- com.ibm.msg.client.jms.admin.JmsJndiConnectionFactoryImpl
- com.ibm.mq.jms.MQConnectionFactory
- com.ibm.mq.jms.MQTopicConnectionFactory
All implemented interfaces:
JmsConnectionFactory, JmsPropertyContext, JmsReadablePropertyContext, JmsTopicConnectionFactory, com.ibm.msg.client.provider.ProviderPropertyContextCallback, java.io.Serializable, java.util.Map<java.lang.String,java.lang.Object>, javax.jms.ConnectionFactory, javax.jms.TopicConnectionFactory, javax.naming.Referenceable
Direct known subclasses:
- public class MQTopicConnectionFactory
- extends MQConnectionFactory
- implements javax.jms.TopicConnectionFactory, JmsTopicConnectionFactory, javax.naming.Referenceable, java.io.Serializable
See Also:
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.mq.jms.MQConnectionFactory |
---|
MQConnectionFactory.ConnectionFactoryProperty |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary
Constructor and Description |
---|
MQTopicConnectionFactory()
The default constructor
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
createTopicConnection()
Creates a topic connection with default user identity.
|
|
createTopicConnection(java.lang.String userid,java.lang.String password)
Creates a topic connection with the specified user identity.
|
Methods inherited from class com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl |
---|
equals, hashCode |
Methods inherited from class com.ibm.msg.client.jms.internal.JmsPropertyContextImpl |
---|
clear, containsKey, containsValue, entrySet, get, getObjectProperty, isEmpty, keySet, propertyExists, put, putAll, remove, setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setProviderPropertyContext, setShortProperty, setStringProperty, size, values |
Methods inherited from class com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl |
---|
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getPropertyNames, getShortProperty, getStringProperty, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.msg.client.jms.JmsPropertyContext |
---|
setBatchProperties, setBooleanProperty, setByteProperty, setBytesProperty, setCharProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setShortProperty, setStringProperty |
Methods inherited from interface com.ibm.msg.client.jms.JmsReadablePropertyContext |
---|
getBooleanProperty, getByteProperty, getBytesProperty, getCharProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface javax.jms.ConnectionFactory |
---|
createConnection, createConnection |
Methods inherited from interface javax.naming.Referenceable |
---|
getReference |
Constructor Detail
MQTopicConnectionFactory
- public MQTopicConnectionFactory( )
The default constructor
Method Detail
createTopicConnection
- public javax.jms.TopicConnection createTopicConnection( )
- throws javax.jms.JMSException
Creates a topic connection with default user identity.
Specified by:
createTopicConnection
in interface javax.jms.TopicConnectionFactory
Returns:
a newly created queue connection
Throws:
javax.jms.JMSException
- if the JMS provider fails to create a topic connection due to some
internal error javax.jms.JMSSecurityException
- if client authentication fails due to invalid user name or
password See Also:
TopicConnectionFactory.createTopicConnection()
createTopicConnection
- public javax.jms.TopicConnection createTopicConnection( java.lang.String userid,
- java.lang.String password)
- throws javax.jms.JMSException
Creates a topic connection with the specified user identity.
Specified by:
createTopicConnection
in interface javax.jms.TopicConnectionFactory
Parameters:
userid
- the caller's user name password
- the caller's password Returns:
a newly created topic connection
Throws:
javax.jms.JMSException
- if the JMS provider fails to create a topic connection due to some
internal error javax.jms.JMSSecurityException
- if client authentication fails due to invalid user name or
password See Also:
TopicConnectionFactory.createTopicConnection(String,String)