Joram ${version}

org.objectweb.joram.client.jms
Class QueueConnectionFactory

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.ConnectionFactory
          extended byorg.objectweb.joram.client.jms.QueueConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.SoapObjectItf
Direct Known Subclasses:
QueueHALocalConnectionFactory, QueueHATcpConnectionFactory, QueueLocalConnectionFactory, QueueSoapConnectionFactory, QueueTcpConnectionFactory

public abstract class QueueConnectionFactory
extends ConnectionFactory
implements javax.jms.QueueConnectionFactory

Implements the javax.jms.QueueConnectionFactory interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.ConnectionFactory
params, reliableClass
 
Constructor Summary
QueueConnectionFactory()
          Constructs an empty QueueConnectionFactory.
QueueConnectionFactory(java.lang.String host, int port)
          Constructs a QueueConnectionFactory dedicated to a given server.
 
Method Summary
 javax.jms.QueueConnection createQueueConnection()
          API method.
abstract  javax.jms.QueueConnection createQueueConnection(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.ConnectionFactory
code, createConnection, createConnection, decode, getDefaultLogin, getDefaultPassword, getParameters, getReference, setReliableClass
 
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, createConnection
 

Constructor Detail

QueueConnectionFactory

public QueueConnectionFactory(java.lang.String host,
                              int port)
Constructs a QueueConnectionFactory dedicated to a given server.

Parameters:
host - Name or IP address of the server's host.
port - Server's listening port.

QueueConnectionFactory

public QueueConnectionFactory()
Constructs an empty QueueConnectionFactory.

Method Detail

toString

public java.lang.String toString()
Returns a string view of the connection factory.

Overrides:
toString in class ConnectionFactory

createQueueConnection

public abstract javax.jms.QueueConnection createQueueConnection(java.lang.String name,
                                                                java.lang.String password)
                                                         throws javax.jms.JMSException
API method, implemented according to the communication protocol.

Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

createQueueConnection

public javax.jms.QueueConnection createQueueConnection()
                                                throws javax.jms.JMSException
API method.

Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
JMSSecurityException - If the default identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved