jrun.jms.core.client
Class JmsQueueConnectionFactory

jrun.jms.core.client.JmsQueueConnectionFactory
All Implemented Interfaces:
java.io.Externalizable, javax.naming.Referenceable, java.io.Serializable

public class JmsQueueConnectionFactory
implements java.io.Externalizable, javax.naming.Referenceable

This class extends JmsConnectionFactory and is responsible for creating QueueConnections with other JMS PTP providers

Version:
$Revision: 1.9 $ $Date: 2001/06/21 20:53:05 $
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
 
Method Summary
 javax.jms.QueueConnection createQueueConnection()
           
 javax.jms.QueueConnection createQueueConnection(java.lang.String userName, java.lang.String password)
           
 void readExternal(java.io.ObjectInput stream)
           
 void writeExternal(java.io.ObjectOutput stream)
           
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Constructor Detail

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 class
env - environment for constructing the connection to the server
Method Detail

createQueueConnection

public javax.jms.QueueConnection createQueueConnection()
                                                throws javax.jms.JMSException

createQueueConnection

public javax.jms.QueueConnection createQueueConnection(java.lang.String userName,
                                                       java.lang.String password)
                                                throws javax.jms.JMSException

writeExternal

public void writeExternal(java.io.ObjectOutput stream)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable

readExternal

public void readExternal(java.io.ObjectInput stream)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable


Copyright � 2002 Macromedia Corporation. All Rights Reserved.