org.objectweb.joram.client.jms

Class TopicConnectionFactory

Implemented Interfaces:
javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, javax.jms.TopicConnectionFactory, SoapObjectItf
Known Direct Subclasses:
TopicLocalConnectionFactory, TopicTcpConnectionFactory

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

Implements the javax.jms.TopicConnectionFactory 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

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

Method Summary

javax.jms.TopicConnection
createTopicConnection()
API method.
javax.jms.TopicConnection
createTopicConnection(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

TopicConnectionFactory

public TopicConnectionFactory()
Constructs an empty TopicConnectionFactory.


TopicConnectionFactory

public TopicConnectionFactory(String host,
                              int port)
Constructs a TopicConnectionFactory dedicated to a given server.

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

Method Details

createTopicConnection

public javax.jms.TopicConnection createTopicConnection()
            throws JMSException
API method.


createTopicConnection

public javax.jms.TopicConnection createTopicConnection(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