org.objectweb.joram.client.jms.tcp
Class XATcpConnectionFactory
- javax.naming.Referenceable, java.io.Serializable, javax.jms.XAConnectionFactory, SoapObjectItf
public class XATcpConnectionFactory
An XATcpConnectionFactory
instance is a factory of
TCP connections dedicated to XA communication.
- Serialized Form
static javax.jms.XAConnectionFactory | create() - Admin method creating a
javax.jms.XAConnectionFactory
instance for creating TCP connections with the local server.
|
static javax.jms.XAConnectionFactory | create(String host, int port) - Admin method creating a
javax.jms.XAConnectionFactory
instance for creating TCP connections with a given server.
|
javax.jms.XAConnection | createXAConnection(String name, String password) - Method inherited from the
XAConnectionFactory class.
|
XATcpConnectionFactory
public XATcpConnectionFactory(String host,
int port)
Constructs an iXATcpConnectionFactory
instance.
host
- Name or IP address of the server's host.port
- Server's listening port.
create
public static javax.jms.XAConnectionFactory create()
throws java.net.ConnectException
Admin method creating a javax.jms.XAConnectionFactory
instance for creating TCP connections with the local server.
create
public static javax.jms.XAConnectionFactory create(String host,
int port)
Admin method creating a javax.jms.XAConnectionFactory
instance for creating TCP connections with a given server.
host
- Name or IP address of the server's host.port
- Server's listening port.
createXAConnection
public javax.jms.XAConnection createXAConnection(String name,
String password)
throws javax.jms.JMSException
Method inherited from the XAConnectionFactory
class.
- createXAConnection in interface XAConnectionFactory
Copyright B) 2004 Scalagent - All rights reserved