org.objectweb.jonas_jms.JTopicConnectionFactory Class Reference

Inherits org.objectweb.jonas_jms.JConnectionFactory.

Inheritance diagram for org.objectweb.jonas_jms.JTopicConnectionFactory:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_jms.JTopicConnectionFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JTopicConnectionFactory (String name)
TopicConnection createTopicConnection () throws JMSException
TopicConnection createTopicConnection (String userName, String password) throws JMSException

Detailed Description

JTopicConnectionFactory wraps a XATopicConnectionFactory.

Author:
Laurent Chauvirey, Frederic Maistre, Nicolas Tachker Contributor(s): Philippe Durieux Jeff Mesnil connection anonymous

Definition at line 43 of file JTopicConnectionFactory.java.


Constructor & Destructor Documentation

org.objectweb.jonas_jms.JTopicConnectionFactory.JTopicConnectionFactory String  name  ) 
 

Constructor. The underlaying XATopicConnectionFactory is found in the JmsManager.

Definition at line 51 of file JTopicConnectionFactory.java.

References org.objectweb.jonas_jms.api.JmsManager.getXATopicConnectionFactory().

Here is the call graph for this function:


Member Function Documentation

TopicConnection org.objectweb.jonas_jms.JTopicConnectionFactory.createTopicConnection String  userName,
String  password
throws JMSException
 

Create a topic connection with specified user identity. The connection is created in stopped mode. No messages will be delivered until Connection.start method is explicitly called.

Parameters:
userName - the caller's user name
password - the caller's password
Exceptions:
JMSException - if JMS Provider fails to create Topic Connection due to some internal error. required resources for a Topic Connection.
JMSSecurityException - if client authentication fails due to invalid user name or password.

Definition at line 95 of file JTopicConnectionFactory.java.

References org.objectweb.jonas_jms.JConnectionFactory.getJConnection().

Here is the call graph for this function:

TopicConnection org.objectweb.jonas_jms.JTopicConnectionFactory.createTopicConnection  )  throws JMSException
 

Create a topic connection for an anonymous user.

Returns:
a newly created topic connection.
Exceptions:
JMSException - if JMS Provider fails to create a Topic Connection due to some internal error.
JMSSecurityException - if client authentication fails due to invalid user name or password.

Definition at line 71 of file JTopicConnectionFactory.java.

References org.objectweb.jonas_jms.JConnectionFactory.getJConnection().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:10 2005 for JOnAS by  doxygen 1.3.9.1