Joram ${version}

org.objectweb.joram.client.jms.ha.tcp
Class XATopicHATcpConnectionFactory

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.XAConnectionFactory
          extended byorg.objectweb.joram.client.jms.XATopicConnectionFactory
              extended byorg.objectweb.joram.client.jms.ha.tcp.XATopicHATcpConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.SoapObjectItf, javax.jms.TopicConnectionFactory, javax.jms.XAConnectionFactory, javax.jms.XATopicConnectionFactory

public class XATopicHATcpConnectionFactory
extends XATopicConnectionFactory

An XATopicHATcpConnectionFactory instance is a factory of tcp connections for XA Pub/Sub HA communication.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.XAConnectionFactory
params, reliableClass
 
Constructor Summary
XATopicHATcpConnectionFactory(java.lang.String url)
          Constructs an XATopicTcpConnectionFactory instance.
 
Method Summary
static javax.jms.XATopicConnectionFactory create(java.lang.String url)
          Admin method creating a javax.jms.XATopicConnectionFactory instance for creating tcp connections.
static javax.jms.XATopicConnectionFactory create(java.lang.String url, java.lang.String reliableClass)
          Admin method creating a javax.jms.XATopicConnectionFactory instance for creating tcp connections.
 javax.jms.Connection createConnection(java.lang.String name, java.lang.String password)
          Method inherited from the ConnectionFactory class.
 javax.jms.TopicConnection createTopicConnection(java.lang.String name, java.lang.String password)
          Method inherited from the TopicConnectionFactory class.
 javax.jms.XAConnection createXAConnection(java.lang.String name, java.lang.String password)
          Method inherited from the XAConnectionFactory class.
 javax.jms.XATopicConnection createXATopicConnection(java.lang.String name, java.lang.String password)
          Method inherited from the XATopicConnectionFactory class..
 
Methods inherited from class org.objectweb.joram.client.jms.XATopicConnectionFactory
createConnection, createTopicConnection, createXATopicConnection, toString
 
Methods inherited from class org.objectweb.joram.client.jms.XAConnectionFactory
code, createXAConnection, decode, getParameters, getReference, setReliableClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.XAConnectionFactory
createXAConnection
 

Constructor Detail

XATopicHATcpConnectionFactory

public XATopicHATcpConnectionFactory(java.lang.String url)
Constructs an XATopicTcpConnectionFactory instance.

Method Detail

createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection(java.lang.String name,
                                                           java.lang.String password)
                                                    throws javax.jms.JMSException
Method inherited from the XATopicConnectionFactory class..

Specified by:
createXATopicConnection in interface javax.jms.XATopicConnectionFactory
Specified by:
createXATopicConnection in class XATopicConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
javax.jms.JMSException

createXAConnection

public javax.jms.XAConnection createXAConnection(java.lang.String name,
                                                 java.lang.String password)
                                          throws javax.jms.JMSException
Method inherited from the XAConnectionFactory class.

Specified by:
createXAConnection in interface javax.jms.XAConnectionFactory
Specified by:
createXAConnection in class XAConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection(java.lang.String name,
                                                       java.lang.String password)
                                                throws javax.jms.JMSException
Method inherited from the TopicConnectionFactory class.

Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Specified by:
createTopicConnection in class XATopicConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection(java.lang.String name,
                                             java.lang.String password)
                                      throws javax.jms.JMSException
Method inherited from the ConnectionFactory class.

Specified by:
createConnection in interface javax.jms.ConnectionFactory
Specified by:
createConnection in class XATopicConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

create

public static javax.jms.XATopicConnectionFactory create(java.lang.String url)
Admin method creating a javax.jms.XATopicConnectionFactory instance for creating tcp connections.


create

public static javax.jms.XATopicConnectionFactory create(java.lang.String url,
                                                        java.lang.String reliableClass)
Admin method creating a javax.jms.XATopicConnectionFactory instance for creating tcp connections.


Joram ${version}

Copyright ? 2005 Scalagent - All rights reserved