org.objectweb.jonas_jms.JQueueConnectionFactory Class Reference

Inherits org.objectweb.jonas_jms.JConnectionFactory.

Inheritance diagram for org.objectweb.jonas_jms.JQueueConnectionFactory:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JQueueConnectionFactory (String name)
QueueConnection createQueueConnection () throws JMSException
QueueConnection createQueueConnection (String userName, String password) throws JMSException

Detailed Description

JQueueConnectionFactory wraps a XAQueueConnectionFactory.

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

Definition at line 44 of file JQueueConnectionFactory.java.


Constructor & Destructor Documentation

org.objectweb.jonas_jms.JQueueConnectionFactory.JQueueConnectionFactory String  name  ) 
 

Constructor. The underlaying XAQueueConnectionFactory is found in the JmsManager.

Definition at line 52 of file JQueueConnectionFactory.java.

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

Here is the call graph for this function:


Member Function Documentation

QueueConnection org.objectweb.jonas_jms.JQueueConnectionFactory.createQueueConnection String  userName,
String  password
throws JMSException
 

Create a queue 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 Queue Connection due to some internal error. required resources for a Queue Connection.
JMSSecurityException - if client authentication fails due to invalid user name or password.

Definition at line 94 of file JQueueConnectionFactory.java.

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

Here is the call graph for this function:

QueueConnection org.objectweb.jonas_jms.JQueueConnectionFactory.createQueueConnection  )  throws JMSException
 

Create a queue connection for an anonymous user.

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

Definition at line 72 of file JQueueConnectionFactory.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:09 2005 for JOnAS by  doxygen 1.3.9.1