Joram ${version}

org.objectweb.joram.client.jms
Class TopicConnectionFactory

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.ConnectionFactory
          extended byorg.objectweb.joram.client.jms.TopicConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.SoapObjectItf, javax.jms.TopicConnectionFactory
Direct Known Subclasses:
TopicHALocalConnectionFactory, TopicHATcpConnectionFactory, TopicLocalConnectionFactory, TopicSoapConnectionFactory, 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, reliableClass
 
Constructor Summary
TopicConnectionFactory()
          Constructs an empty TopicConnectionFactory.
TopicConnectionFactory(java.lang.String host, int port)
          Constructs a TopicConnectionFactory dedicated to a given server.
 
Method Summary
 javax.jms.TopicConnection createTopicConnection()
          API method.
abstract  javax.jms.TopicConnection createTopicConnection(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

TopicConnectionFactory

public TopicConnectionFactory(java.lang.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.

TopicConnectionFactory

public TopicConnectionFactory()
Constructs an empty TopicConnectionFactory.

Method Detail

toString

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

Overrides:
toString in class ConnectionFactory

createTopicConnection

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

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

createTopicConnection

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

Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
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