org.objectweb.joram.client.connector.OutboundTopicConnectionFactory Class Reference

Inherits org.objectweb.joram.client.connector.OutboundConnectionFactory.

Inheritance diagram for org.objectweb.joram.client.connector.OutboundTopicConnectionFactory:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.client.connector.OutboundTopicConnectionFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

javax.jms.TopicConnection createTopicConnection () throws JMSException
javax.jms.TopicConnection createTopicConnection (String userName, String password) throws JMSException

Package Functions

 OutboundTopicConnectionFactory (ManagedConnectionFactoryImpl mcf, ConnectionManager cxManager)

Detailed Description

An OutboundTopicConnectionFactory instance is used for getting a PubSub connection to an underlying JORAM server.

Definition at line 37 of file OutboundTopicConnectionFactory.java.


Constructor & Destructor Documentation

org.objectweb.joram.client.connector.OutboundTopicConnectionFactory.OutboundTopicConnectionFactory ( ManagedConnectionFactoryImpl  mcf,
ConnectionManager  cxManager 
) [package]

Constructs an OutboundTopicConnectionFactory instance.

Parameters:
mcf Central manager for outbound connectivity.
cxManager Manager for connection pooling.

Definition at line 51 of file OutboundTopicConnectionFactory.java.

References org.objectweb.joram.client.connector.OutboundConnectionFactory.mcf.


Member Function Documentation

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

Requests a PubSub connection for the default user, eventually returns an OutboundTopicConnection instance.

Exceptions:
JMSSecurityException If connecting is not allowed.
IllegalStateException If the underlying JORAM server is not reachable.
JMSException Generic exception.

Definition at line 71 of file OutboundTopicConnectionFactory.java.

References org.objectweb.joram.client.connector.OutboundConnectionFactory.mcf, org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.password, and org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl.userName.

javax.jms.TopicConnection org.objectweb.joram.client.connector.OutboundTopicConnectionFactory.createTopicConnection ( String  userName,
String  password 
) throws JMSException

Requests a PubSub connection for a given user, eventually returns an OutboundConnection instance.

Exceptions:
JMSSecurityException If connecting is not allowed.
IllegalStateException If the underlying JORAM server is not reachable.
JMSException Generic exception.

Definition at line 89 of file OutboundTopicConnectionFactory.java.

References org.objectweb.joram.client.connector.OutboundConnectionFactory.cxManager, and org.objectweb.joram.client.connector.OutboundConnectionFactory.mcf.


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