org.objectweb.joram.client.jms

Class QueueConnectionFactory

Implemented Interfaces:
javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf
Known Direct Subclasses:
QueueLocalConnectionFactory, 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

Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject

id, instancesTable

Constructor Summary

QueueConnectionFactory()
Constructs an empty QueueConnectionFactory.
QueueConnectionFactory(String host, int port)
Constructs a QueueConnectionFactory dedicated to a given server.

Method Summary

javax.jms.QueueConnection
createQueueConnection()
API method.
javax.jms.QueueConnection
createQueueConnection(String name, String password)
API method, implemented according to the communication protocol.
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, toString

Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject

code, getInstance, getReference

Constructor Details

QueueConnectionFactory

public QueueConnectionFactory()
Constructs an empty QueueConnectionFactory.


QueueConnectionFactory

public QueueConnectionFactory(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.

Method Details

createQueueConnection

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


createQueueConnection

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


toString

public String toString()
Returns a string view of the connection factory.
Overrides:
toString in interface ConnectionFactory


Copyright B) 2004 Scalagent - All rights reserved