|
Joram 4.3.34 | ||||||||
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.admin.AbstractConnectionFactory
org.objectweb.joram.client.jms.XAConnectionFactory
public abstract class XAConnectionFactory
Implements the javax.jms.XAConnectionFactory
interface.
Field Summary |
---|
Fields inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory |
---|
params, reliableClass |
Constructor Summary | |
---|---|
XAConnectionFactory()
Constructs an empty ConnectionFactory . |
|
XAConnectionFactory(java.lang.String url)
Constructs an XAConnectionFactory dedicated to a given
server. |
|
XAConnectionFactory(java.lang.String host,
int port)
Constructs an XAConnectionFactory dedicated to a given
server. |
Method Summary | |
---|---|
javax.jms.XAConnection |
createXAConnection()
API method. |
abstract javax.jms.XAConnection |
createXAConnection(java.lang.String name,
java.lang.String password)
API method, implemented according to the communication protocol. |
java.lang.String |
toString()
Returns a string view of the connection factory. |
Methods inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory |
---|
code, code, decode, decode, fromReference, fromReference, getDefaultLogin, getDefaultPassword, getDefaultRootLogin, getDefaultRootPassword, getParameters, setReliableClass, toReference, toReference |
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
---|
getReference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XAConnectionFactory(java.lang.String host, int port)
XAConnectionFactory
dedicated to a given
server.
host
- Name or IP address of the server's host.port
- Server's listening port.public XAConnectionFactory(java.lang.String url)
XAConnectionFactory
dedicated to a given
server.
url
- joram ha urlpublic XAConnectionFactory()
ConnectionFactory
.
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public abstract javax.jms.XAConnection createXAConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
createXAConnection
in interface javax.jms.XAConnectionFactory
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public javax.jms.XAConnection createXAConnection() throws javax.jms.JMSException
createXAConnection
in interface javax.jms.XAConnectionFactory
JMSSecurityException
- If the default identification is
incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
|
Joram 4.3.34 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |