|
||||||||||
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.QueueConnectionFactory
org.objectweb.joram.client.jms.soap.QueueSoapConnectionFactory
A QueueSoapConnectionFactory
instance is a factory of
SOAP connections for PTP communication.
Field Summary |
Fields inherited from class org.objectweb.joram.client.jms.ConnectionFactory |
params |
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
id, instancesTable |
Constructor Summary | |
QueueSoapConnectionFactory()
Constructs an empty QueueSoapConnectionFactory instance. |
|
QueueSoapConnectionFactory(java.lang.String host,
int port,
int timeout)
Constructs a QueueSoapConnectionFactory instance. |
Method Summary | |
static javax.jms.QueueConnectionFactory |
create(int timeout)
Admin method creating a javax.jms.QueueConnectionFactory
instance for creating SOAP connections with the local server. |
static javax.jms.QueueConnectionFactory |
create(java.lang.String host,
int port,
int timeout)
Admin method creating a javax.jms.QueueConnectionFactory
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. |
javax.jms.QueueConnection |
createQueueConnection(java.lang.String name,
java.lang.String password)
Method inherited from the QueueConnectionFactory class. |
java.lang.Object |
decode(java.util.Hashtable h)
Decodes a QueueSoapConnectionFactory which travelled through
the SOAP protocol. |
javax.naming.Reference |
getReference()
Method inherited from the SoapConnectionFactory class;
overrides this ConnectionFactory method for constructing
the appropriate reference. |
Methods inherited from class org.objectweb.joram.client.jms.QueueConnectionFactory |
createQueueConnection, toString |
Methods inherited from class org.objectweb.joram.client.jms.ConnectionFactory |
code, createConnection, getDefaultLogin, getDefaultPassword, getParameters |
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.ConnectionFactory |
createConnection |
Constructor Detail |
public QueueSoapConnectionFactory(java.lang.String host, int port, int timeout)
QueueSoapConnectionFactory
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 QueueSoapConnectionFactory()
QueueSoapConnectionFactory
instance.
Method Detail |
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 QueueConnectionFactory
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 ConnectionFactory
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public javax.naming.Reference getReference() throws javax.naming.NamingException
SoapConnectionFactory
class;
overrides this ConnectionFactory
method for constructing
the appropriate reference.
getReference
in interface javax.naming.Referenceable
getReference
in class ConnectionFactory
javax.naming.NamingException
public java.lang.Object decode(java.util.Hashtable h)
QueueSoapConnectionFactory
which travelled through
the SOAP protocol.
decode
in interface SoapObjectItf
decode
in class ConnectionFactory
public static javax.jms.QueueConnectionFactory create(java.lang.String host, int port, int timeout)
javax.jms.QueueConnectionFactory
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.QueueConnectionFactory create(int timeout) throws java.net.ConnectException
javax.jms.QueueConnectionFactory
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |