org.exolab.jms.client
Class JmsQueueConnectionFactory
java.lang.Object
|
+--org.exolab.jms.client.JmsConnectionFactory
|
+--org.exolab.jms.client.JmsQueueConnectionFactory
- All Implemented Interfaces:
- javax.jms.ConnectionFactory, javax.jms.ExceptionListener, java.io.Externalizable, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable
- Direct Known Subclasses:
- JmsXAQueueConnectionFactory
- public class JmsQueueConnectionFactory
- extends JmsConnectionFactory
- implements javax.jms.QueueConnectionFactory, java.io.Externalizable, javax.naming.Referenceable
This class extends JmsConnectionFactory and is responsible for creating
QueueConnections with other JMS PTP providers
- Version:
- $Revision: 1.12 $ $Date: 2003/08/07 13:32:50 $
- Author:
- Jim Alateras
- See Also:
- Serialized Form
Constructor Summary |
JmsQueueConnectionFactory()
Need a default constructor so that it can be support externalization |
JmsQueueConnectionFactory(java.lang.String name,
java.util.Hashtable env)
Instantiate an instance of the queue connection factory with the name
of the class that will facilitate communication with the JmsServer |
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 |
JmsQueueConnectionFactory
public JmsQueueConnectionFactory()
- Need a default constructor so that it can be support externalization
JmsQueueConnectionFactory
public JmsQueueConnectionFactory(java.lang.String name,
java.util.Hashtable env)
- Instantiate an instance of the queue connection factory with the name
of the class that will facilitate communication with the JmsServer
- Parameters:
name
- name of the classenv
- environment for constructing the connection
to the server
createQueueConnection
public javax.jms.QueueConnection createQueueConnection()
throws javax.jms.JMSException
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
createQueueConnection
public javax.jms.QueueConnection createQueueConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
writeExternal
public void writeExternal(java.io.ObjectOutput stream)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Overrides:
writeExternal
in class JmsConnectionFactory
readExternal
public void readExternal(java.io.ObjectInput stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Overrides:
readExternal
in class JmsConnectionFactory
Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.