org.exolab.jms.client
Class JmsXAQueueConnectionFactory

java.lang.Object
  |
  +--org.exolab.jms.client.JmsConnectionFactory
        |
        +--org.exolab.jms.client.JmsQueueConnectionFactory
              |
              +--org.exolab.jms.client.JmsXAQueueConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.jms.ExceptionListener, java.io.Externalizable, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable, javax.jms.XAConnectionFactory, javax.jms.XAQueueConnectionFactory

public class JmsXAQueueConnectionFactory
extends JmsQueueConnectionFactory
implements javax.jms.XAQueueConnectionFactory, java.io.Externalizable, javax.naming.Referenceable

An XA queue connection factory class that extends the bahaviour of JmsQueueConnectionFactory.

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

Fields inherited from class org.exolab.jms.client.JmsConnectionFactory
_className, _env
 
Constructor Summary
JmsXAQueueConnectionFactory()
          Need a default constructor so that it can be support externalization
JmsXAQueueConnectionFactory(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.XAQueueConnection createXAQueueConnection()
           
 javax.jms.XAQueueConnection createXAQueueConnection(java.lang.String userName, java.lang.String password)
           
 
Methods inherited from class org.exolab.jms.client.JmsQueueConnectionFactory
createQueueConnection, createQueueConnection, 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.QueueConnectionFactory
createQueueConnection, createQueueConnection
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Constructor Detail

JmsXAQueueConnectionFactory

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

JmsXAQueueConnectionFactory

public JmsXAQueueConnectionFactory(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 variables
Method Detail

createXAQueueConnection

public javax.jms.XAQueueConnection createXAQueueConnection()
                                                    throws javax.jms.JMSException
Specified by:
createXAQueueConnection in interface javax.jms.XAQueueConnectionFactory

createXAQueueConnection

public javax.jms.XAQueueConnection createXAQueueConnection(java.lang.String userName,
                                                           java.lang.String password)
                                                    throws javax.jms.JMSException
Specified by:
createXAQueueConnection in interface javax.jms.XAQueueConnectionFactory


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