org.exolab.jms.client
Class JmsXATopicConnectionFactory

java.lang.Object
  extended by org.exolab.jms.client.JmsConnectionFactory
      extended by org.exolab.jms.client.JmsTopicConnectionFactory
          extended by org.exolab.jms.client.JmsXATopicConnectionFactory
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, javax.jms.ConnectionFactory, javax.jms.ExceptionListener, javax.jms.TopicConnectionFactory, javax.jms.XAConnectionFactory, javax.jms.XATopicConnectionFactory, javax.naming.Referenceable

public class JmsXATopicConnectionFactory
extends JmsTopicConnectionFactory
implements javax.jms.XATopicConnectionFactory, java.io.Externalizable, javax.naming.Referenceable

An XA topic connection factory class that extends the bahaviour of JmsTopicConnectionFactory.

Version:
$Revision: 1.5 $ $Date: 2003/08/07 13:32:51 $
Author:
Jim Alateras
See Also:
XAConnectionFactory, TopicConnectionFactory, Serialized Form

Field Summary
 
Fields inherited from class org.exolab.jms.client.JmsConnectionFactory
_className, _env
 
Constructor Summary
JmsXATopicConnectionFactory()
          Need a default constructor so that it can be support externalization
JmsXATopicConnectionFactory(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.XATopicConnection createXATopicConnection()
           
 javax.jms.XATopicConnection createXATopicConnection(java.lang.String userName, java.lang.String password)
           
 
Methods inherited from class org.exolab.jms.client.JmsTopicConnectionFactory
createTopicConnection, createTopicConnection, readExternal, writeExternal
 
Methods inherited from class org.exolab.jms.client.JmsConnectionFactory
addConnection, getConnections, getProxy, getReference, isManaged, onException, removeConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Constructor Detail

JmsXATopicConnectionFactory

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


JmsXATopicConnectionFactory

public JmsXATopicConnectionFactory(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

createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection()
                                                    throws javax.jms.JMSException
Specified by:
createXATopicConnection in interface javax.jms.XATopicConnectionFactory
Throws:
javax.jms.JMSException

createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection(java.lang.String userName,
                                                           java.lang.String password)
                                                    throws javax.jms.JMSException
Specified by:
createXATopicConnection in interface javax.jms.XATopicConnectionFactory
Throws:
javax.jms.JMSException


Copyright © 1999-2005 The OpenJMS Group. All Rights Reserved.