jrun.jms.core.client
Class JmsTopicConnectionFactory

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

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

This class is responsible for managing all TopicConnection instances. It maintains no sta

Version:
$Revision: 1.11 $ $Date: 2001/10/12 07:55:31 $
Author:
Jim Alateras
See Also:
TopicConnection, Serialized Form

Constructor Summary
JmsTopicConnectionFactory()
          Need a default constructor so that it can be support externalization
JmsTopicConnectionFactory(java.lang.String name, java.util.Hashtable env)
          Instantiate an instance of the topic connection factory with the name of the class that will facilitate communication with the JmsServer
 
Method Summary
 javax.jms.TopicConnection createTopicConnection()
           
 javax.jms.TopicConnection createTopicConnection(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

JmsTopicConnectionFactory

public JmsTopicConnectionFactory()
Need a default constructor so that it can be support externalization

JmsTopicConnectionFactory

public JmsTopicConnectionFactory(java.lang.String name,
                                 java.util.Hashtable env)
Instantiate an instance of the topic connection factory with the name of the class that will facilitate communication with the JmsServer
Parameters:
name - name of the class
env - environment variables
Method Detail

createTopicConnection

public javax.jms.TopicConnection createTopicConnection()
                                                throws javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection(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.