|
||||||||||
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.XATopicConnectionFactory
org.objectweb.joram.client.jms.tcp.XATopicTcpConnectionFactory
An XATopicTcpConnectionFactory
instance is a factory of
TCP connections for XA Pub/Sub communication.
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(java.lang.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(java.lang.String host,
int port)
Admin method creating a javax.jms.XATopicConnectionFactory
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.TopicConnection |
createTopicConnection(java.lang.String name,
java.lang.String password)
Method inherited from the TopicConnectionFactory class. |
javax.jms.XAConnection |
createXAConnection(java.lang.String name,
java.lang.String password)
Method inherited from the XAConnectionFactory class. |
javax.jms.XATopicConnection |
createXATopicConnection(java.lang.String name,
java.lang.String password)
Method inherited from the XATopicConnectionFactory class.. |
Methods inherited from class org.objectweb.joram.client.jms.XATopicConnectionFactory |
createConnection, createTopicConnection, createXATopicConnection, toString |
Methods inherited from class org.objectweb.joram.client.jms.XAConnectionFactory |
code, createXAConnection, decode, getParameters, getReference |
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
getInstance |
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 XATopicTcpConnectionFactory(java.lang.String host, int port)
XATopicTcpConnectionFactory
instance.
host
- Name or IP address of the server's host.port
- Server's listening port.Method Detail |
public javax.jms.XATopicConnection createXATopicConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
XATopicConnectionFactory
class..
createXATopicConnection
in interface javax.jms.XATopicConnectionFactory
createXATopicConnection
in class XATopicConnectionFactory
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.TopicConnection createTopicConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
TopicConnectionFactory
class.
createTopicConnection
in interface javax.jms.TopicConnectionFactory
createTopicConnection
in class XATopicConnectionFactory
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 XATopicConnectionFactory
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public static javax.jms.XATopicConnectionFactory create(java.lang.String host, int port)
javax.jms.XATopicConnectionFactory
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.XATopicConnectionFactory create() throws java.net.ConnectException
javax.jms.XATopicConnectionFactory
instance for creating TCP connections with the local server.
ConnectException
- If the admin connection is closed or broken.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |