org.objectweb.joram.client.jms.ha.tcp
Class QueueHATcpConnectionFactory
java.lang.Object
org.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
org.objectweb.joram.client.jms.ConnectionFactory
org.objectweb.joram.client.jms.QueueConnectionFactory
org.objectweb.joram.client.jms.ha.tcp.QueueHATcpConnectionFactory
- All Implemented Interfaces:
- fr.dyade.aaa.jndi2.soap.SoapObjectItf, java.io.Serializable, javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.naming.Referenceable
public class QueueHATcpConnectionFactory
- extends QueueConnectionFactory
- See Also:
- Serialized Form
Method Summary |
static javax.jms.QueueConnectionFactory |
create(java.lang.String url)
Admin method creating a javax.jms.ConnectionFactory
instance for creating HA TCP connections with a given server. |
static javax.jms.QueueConnectionFactory |
create(java.lang.String url,
java.lang.String reliableClass)
Admin method creating a javax.jms.ConnectionFactory
instance for creating HA 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. |
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, initIdentity, setIdentityClassName, setReliableClass, toReference, toReference |
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 |
QueueHATcpConnectionFactory
public QueueHATcpConnectionFactory(java.lang.String url)
QueueHATcpConnectionFactory
public QueueHATcpConnectionFactory()
- Constructs an empty
QueueHATcpConnectionFactory
.
Needed by ObjectFactory.
createQueueConnection
public javax.jms.QueueConnection createQueueConnection(java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
- Method inherited from the
QueueConnectionFactory
class.
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
- Specified by:
createQueueConnection
in class QueueConnectionFactory
- Throws:
javax.jms.JMSSecurityException
- If the user identification is incorrect.
javax.jms.JMSException
createConnection
public javax.jms.Connection createConnection(java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
- Method inherited from the
ConnectionFactory
class.
- Specified by:
createConnection
in interface javax.jms.ConnectionFactory
- Specified by:
createConnection
in class ConnectionFactory
- Throws:
javax.jms.JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
create
public static javax.jms.QueueConnectionFactory create(java.lang.String url)
- Admin method creating a
javax.jms.ConnectionFactory
instance for creating HA TCP connections with a given server.
create
public static javax.jms.QueueConnectionFactory create(java.lang.String url,
java.lang.String reliableClass)
- Admin method creating a
javax.jms.ConnectionFactory
instance for creating HA TCP connections with a given server.
toString
public java.lang.String toString()
- Description copied from class:
QueueConnectionFactory
- Returns a string view of the connection factory.
- Overrides:
toString
in class QueueConnectionFactory
Copyright © 2005 Scalagent - All rights reserved