|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.XAConnectionFactory
org.objectweb.joram.client.jms.XAQueueConnectionFactory
org.objectweb.joram.client.jms.tcp.XAQueueTcpConnectionFactory
An XAQueueTcpConnectionFactory
instance is a factory of
TCP connections for XA PTP communication.
Field Summary |
Fields inherited from class org.objectweb.joram.client.jms.XAConnectionFactory |
params, reliableClass |
Constructor Summary | |
XAQueueTcpConnectionFactory(java.lang.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(java.lang.String host,
int port)
Admin method creating a javax.jms.XAQueueConnectionFactory
instance for creating TCP connections with a given server. |
static javax.jms.XAQueueConnectionFactory |
create(java.lang.String host,
int port,
java.lang.String reliableClass)
Admin method creating a javax.jms.XAQueueConnectionFactory
instance for creating TCP connections with a given server. |
javax.jms.Connection |
createConnection(java.lang.String name,
java.lang.String password)
Method inherited from the ConnectionFactory class. |
javax.jms.QueueConnection |
createQueueConnection(java.lang.String name,
java.lang.String password)
Method inherited from the QueueConnectionFactory class. |
javax.jms.XAConnection |
createXAConnection(java.lang.String name,
java.lang.String password)
Method inherited from the XAConnectionFactory class. |
javax.jms.XAQueueConnection |
createXAQueueConnection(java.lang.String name,
java.lang.String password)
Method inherited from the XAQueueConnectionFactory class. |
Methods inherited from class org.objectweb.joram.client.jms.XAQueueConnectionFactory |
createConnection, createQueueConnection, createXAQueueConnection, 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 |
public XAQueueTcpConnectionFactory(java.lang.String host, int port)
XAQueueTcpConnectionFactory
instance.
host
- Name or IP address of the server's host.port
- Server's listening port.Method Detail |
public javax.jms.XAQueueConnection createXAQueueConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
XAQueueConnectionFactory
class.
createXAQueueConnection
in interface javax.jms.XAQueueConnectionFactory
createXAQueueConnection
in class XAQueueConnectionFactory
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public javax.jms.XAConnection createXAConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
XAConnectionFactory
class.
createXAConnection
in interface javax.jms.XAConnectionFactory
createXAConnection
in class XAConnectionFactory
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public javax.jms.QueueConnection createQueueConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
QueueConnectionFactory
class.
createQueueConnection
in interface javax.jms.QueueConnectionFactory
createQueueConnection
in class XAQueueConnectionFactory
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public javax.jms.Connection createConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
ConnectionFactory
class.
createConnection
in interface javax.jms.ConnectionFactory
createConnection
in class XAQueueConnectionFactory
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public static javax.jms.XAQueueConnectionFactory create(java.lang.String host, int port)
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.public static javax.jms.XAQueueConnectionFactory create(java.lang.String host, int port, java.lang.String reliableClass)
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.reliableClass
- Reliable class name.public static javax.jms.XAQueueConnectionFactory create() throws java.net.ConnectException
javax.jms.XAQueueConnectionFactory
instance for creating TCP connections with the local server.
ConnectException
- If the admin connection is closed or broken.
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |