org.objectweb.joram.client.jms.TopicConnectionFactory Class Reference

Inherits org.objectweb.joram.client.jms.ConnectionFactory.

Inherited by org.objectweb.joram.client.jms.ha.local.TopicHALocalConnectionFactory, org.objectweb.joram.client.jms.ha.tcp.TopicHATcpConnectionFactory, org.objectweb.joram.client.jms.local.TopicLocalConnectionFactory, org.objectweb.joram.client.jms.soap.TopicSoapConnectionFactory, and org.objectweb.joram.client.jms.tcp.TopicTcpConnectionFactory.

Inheritance diagram for org.objectweb.joram.client.jms.TopicConnectionFactory:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.client.jms.TopicConnectionFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TopicConnectionFactory (String host, int port)
 TopicConnectionFactory (String url)
 TopicConnectionFactory ()
String toString ()
abstract javax.jms.TopicConnection createTopicConnection (String name, String password) throws JMSException
javax.jms.TopicConnection createTopicConnection () throws JMSException

Detailed Description

Implements the javax.jms.TopicConnectionFactory interface.

Definition at line 32 of file TopicConnectionFactory.java.


Constructor & Destructor Documentation

org.objectweb.joram.client.jms.TopicConnectionFactory.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.

Definition at line 42 of file TopicConnectionFactory.java.

org.objectweb.joram.client.jms.TopicConnectionFactory.TopicConnectionFactory ( String  url  ) 

Constructs a TopicConnectionFactory dedicated to a given server.

Parameters:
url joram ha url.

Definition at line 51 of file TopicConnectionFactory.java.

org.objectweb.joram.client.jms.TopicConnectionFactory.TopicConnectionFactory (  ) 

Constructs an empty TopicConnectionFactory. Needed by ObjectFactory.

Definition at line 60 of file TopicConnectionFactory.java.


Member Function Documentation

String org.objectweb.joram.client.jms.TopicConnectionFactory.toString (  ) 

Returns a string view of the connection factory.

Reimplemented from org.objectweb.joram.client.jms.ConnectionFactory.

Reimplemented in org.objectweb.joram.client.jms.ha.tcp.TopicHATcpConnectionFactory.

Definition at line 64 of file TopicConnectionFactory.java.

References org.objectweb.joram.client.jms.FactoryParameters.getHost(), org.objectweb.joram.client.jms.FactoryParameters.getPort(), and org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.params.

Here is the call graph for this function:

abstract javax.jms.TopicConnection org.objectweb.joram.client.jms.TopicConnectionFactory.createTopicConnection ( String  name,
String  password 
) throws JMSException [pure virtual]

API method, implemented according to the communication protocol.

Exceptions:
JMSSecurityException If the user identification is incorrect.
IllegalStateException If the server is not listening.

Implemented in org.objectweb.joram.client.jms.ha.local.TopicHALocalConnectionFactory, org.objectweb.joram.client.jms.ha.tcp.TopicHATcpConnectionFactory, org.objectweb.joram.client.jms.local.TopicLocalConnectionFactory, org.objectweb.joram.client.jms.soap.TopicSoapConnectionFactory, and org.objectweb.joram.client.jms.tcp.TopicTcpConnectionFactory.

javax.jms.TopicConnection org.objectweb.joram.client.jms.TopicConnectionFactory.createTopicConnection (  )  throws JMSException

API method.

Exceptions:
JMSSecurityException If the default identification is incorrect.
IllegalStateException If the server is not listening.

Definition at line 85 of file TopicConnectionFactory.java.

References org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.getDefaultLogin(), and org.objectweb.joram.client.jms.admin.AbstractConnectionFactory.getDefaultPassword().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:18:11 2008 for joram by  doxygen 1.5.0