org.objectweb.joram.client.jms.tcp
Class XAQueueTcpConnectionFactory
- javax.naming.Referenceable, java.io.Serializable, javax.jms.XAConnectionFactory, javax.jms.XAQueueConnectionFactory, SoapObjectItf
public class XAQueueTcpConnectionFactory
An XAQueueTcpConnectionFactory
instance is a factory of
TCP connections for XA PTP communication.
- Serialized Form
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.
|
XAQueueTcpConnectionFactory
public XAQueueTcpConnectionFactory(String host,
int port)
Constructs an XAQueueTcpConnectionFactory
instance.
host
- Name or IP address of the server's host.port
- Server's listening port.
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.
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.
- createConnection in interface XAQueueConnectionFactory
createQueueConnection
public javax.jms.QueueConnection createQueueConnection(String name,
String password)
throws javax.jms.JMSException
Method inherited from the QueueConnectionFactory
class.
- createQueueConnection in interface XAQueueConnectionFactory
createXAConnection
public javax.jms.XAConnection createXAConnection(String name,
String password)
throws javax.jms.JMSException
Method inherited from the XAConnectionFactory
class.
- createXAConnection in interface XAConnectionFactory
createXAQueueConnection
public javax.jms.XAQueueConnection createXAQueueConnection(String name,
String password)
throws javax.jms.JMSException
Method inherited from the XAQueueConnectionFactory
class.
- createXAQueueConnection in interface XAQueueConnectionFactory
Copyright B) 2004 Scalagent - All rights reserved