|
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.ConnectionFactory
org.objectweb.joram.client.jms.soap.SoapConnectionFactory
A SoapConnectionFactory instance is a factory of SOAP
connections.
| Field Summary |
| Fields inherited from class org.objectweb.joram.client.jms.ConnectionFactory |
params, reliableClass |
| Constructor Summary | |
SoapConnectionFactory()
Constructs an empty SoapConnectionFactory instance. |
|
SoapConnectionFactory(java.lang.String host,
int port,
int timeout)
Constructs a SoapConnectionFactory instance. |
|
| Method Summary | |
static javax.jms.ConnectionFactory |
create(int timeout)
Admin method creating a javax.jms.ConnectionFactory instance
for creating SOAP connections with the local server. |
static javax.jms.ConnectionFactory |
create(java.lang.String host,
int port,
int timeout)
Admin method creating a javax.jms.ConnectionFactory
instance for creating SOAP connections with a given server. |
javax.jms.Connection |
createConnection(java.lang.String name,
java.lang.String password)
Method inherited from the ConnectionFactory class. |
| Methods inherited from class org.objectweb.joram.client.jms.ConnectionFactory |
code, createConnection, decode, getDefaultLogin, getDefaultPassword, getParameters, getReference, setReliableClass, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SoapConnectionFactory(java.lang.String host,
int port,
int timeout)
SoapConnectionFactory instance.
host - Name or IP address of the server's host.port - Server's listening port.timeout - Duration in seconds during which a SOAP connection might
be inactive before being considered as dead (0 for never).public SoapConnectionFactory()
SoapConnectionFactory instance.
| Method Detail |
public javax.jms.Connection createConnection(java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
ConnectionFactory class.
createConnection in interface javax.jms.ConnectionFactorycreateConnection in class ConnectionFactoryJMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException
public static javax.jms.ConnectionFactory create(java.lang.String host,
int port,
int timeout)
javax.jms.ConnectionFactory
instance for creating SOAP connections with a given server.
host - Name or IP address of the server's host.port - Server's listening port.timeout - Duration in seconds during which a SOAP connection might
be inactive before being considered as dead (0 for never).
public static javax.jms.ConnectionFactory create(int timeout)
throws java.net.ConnectException
javax.jms.ConnectionFactory instance
for creating SOAP connections with the local server.
timeout - Duration in seconds during which a SOAP connection might
be inactive before being considered as dead (0 for never).
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 | |||||||||