org.objectweb.joram.client.jms.tcp

Class XATopicTcpConnectionFactory

Implemented Interfaces:
javax.naming.Referenceable, java.io.Serializable, javax.jms.XAConnectionFactory, javax.jms.XATopicConnectionFactory, SoapObjectItf

public class XATopicTcpConnectionFactory
extends XATopicConnectionFactory

An XATopicTcpConnectionFactory instance is a factory of TCP connections for XA Pub/Sub communication.

See Also:
Serialized Form

Field Summary

Fields inherited from class org.objectweb.joram.client.jms.XAConnectionFactory

params

Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject

id, instancesTable

Constructor Summary

XATopicTcpConnectionFactory(String host, int port)
Constructs an XATopicTcpConnectionFactory instance.

Method Summary

static javax.jms.XATopicConnectionFactory
create()
Admin method creating a javax.jms.XATopicConnectionFactory instance for creating TCP connections with the local server.
static javax.jms.XATopicConnectionFactory
create(String host, int port)
Admin method creating a javax.jms.XATopicConnectionFactory instance for creating TCP connections with a given server.
javax.jms.Connection
createConnection(String name, String password)
Method inherited from the ConnectionFactory class.
javax.jms.TopicConnection
createTopicConnection(String name, String password)
Method inherited from the TopicConnectionFactory class.
javax.jms.XAConnection
createXAConnection(String name, String password)
Method inherited from the XAConnectionFactory class.
javax.jms.XATopicConnection
createXATopicConnection(String name, String password)
Method inherited from the XATopicConnectionFactory class..

Methods inherited from class org.objectweb.joram.client.jms.XATopicConnectionFactory

createConnection, createConnection, createTopicConnection, createTopicConnection, createXATopicConnection, createXATopicConnection, toString

Methods inherited from class org.objectweb.joram.client.jms.XAConnectionFactory

code, createXAConnection, createXAConnection, decode, getParameters, getReference, toString

Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject

code, getInstance, getReference

Constructor Details

XATopicTcpConnectionFactory

public XATopicTcpConnectionFactory(String host,
                                   int port)
Constructs an XATopicTcpConnectionFactory instance.

Parameters:
host - Name or IP address of the server's host.
port - Server's listening port.

Method Details

create

public static javax.jms.XATopicConnectionFactory create()
            throws java.net.ConnectException
Admin method creating a javax.jms.XATopicConnectionFactory instance for creating TCP connections with the local server.


create

public static javax.jms.XATopicConnectionFactory create(String host,
                                                        int port)
Admin method creating a javax.jms.XATopicConnectionFactory instance for creating TCP connections with a given server.

Parameters:
host - Name or IP address of the server's host.
port - Server's listening port.


createConnection

public javax.jms.Connection createConnection(String name,
                                             String password)
            throws javax.jms.JMSException
Method inherited from the ConnectionFactory class.
Overrides:
createConnection in interface XATopicConnectionFactory


createTopicConnection

public javax.jms.TopicConnection createTopicConnection(String name,
                                                       String password)
            throws javax.jms.JMSException
Method inherited from the TopicConnectionFactory class.
Overrides:
createTopicConnection in interface XATopicConnectionFactory


createXAConnection

public javax.jms.XAConnection createXAConnection(String name,
                                                 String password)
            throws javax.jms.JMSException
Method inherited from the XAConnectionFactory class.
Overrides:
createXAConnection in interface XAConnectionFactory


createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection(String name,
                                                           String password)
            throws javax.jms.JMSException
Method inherited from the XATopicConnectionFactory class..
Overrides:
createXATopicConnection in interface XATopicConnectionFactory


Copyright B) 2004 Scalagent - All rights reserved