org.objectweb.joram.client.jms.tcp

Class XAQueueTcpConnectionFactory

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

public class XAQueueTcpConnectionFactory
extends XAQueueConnectionFactory

An XAQueueTcpConnectionFactory instance is a factory of TCP connections for XA PTP 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

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

Method Summary

static javax.jms.XAQueueConnectionFactory
create()
Admin method creating a javax.jms.XAQueueConnectionFactory instance for creating TCP connections with the local server.
static javax.jms.XAQueueConnectionFactory
create(String host, int port)
Admin method creating a javax.jms.XAQueueConnectionFactory 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.QueueConnection
createQueueConnection(String name, String password)
Method inherited from the QueueConnectionFactory class.
javax.jms.XAConnection
createXAConnection(String name, String password)
Method inherited from the XAConnectionFactory class.
javax.jms.XAQueueConnection
createXAQueueConnection(String name, String password)
Method inherited from the XAQueueConnectionFactory class.

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

createConnection, createConnection, createQueueConnection, createQueueConnection, createXAQueueConnection, createXAQueueConnection, 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

XAQueueTcpConnectionFactory

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

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

Method Details

create

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


create

public static javax.jms.XAQueueConnectionFactory create(String host,
                                                        int port)
Admin method creating a javax.jms.XAQueueConnectionFactory 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 XAQueueConnectionFactory


createQueueConnection

public javax.jms.QueueConnection createQueueConnection(String name,
                                                       String password)
            throws javax.jms.JMSException
Method inherited from the QueueConnectionFactory class.
Overrides:
createQueueConnection in interface XAQueueConnectionFactory


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


createXAQueueConnection

public javax.jms.XAQueueConnection createXAQueueConnection(String name,
                                                           String password)
            throws javax.jms.JMSException
Method inherited from the XAQueueConnectionFactory class.
Overrides:
createXAQueueConnection in interface XAQueueConnectionFactory


Copyright B) 2004 Scalagent - All rights reserved