net.sf.dropboxmq.connectionfactories
Class QueueConnectionFactoryImpl

java.lang.Object
  extended by net.sf.dropboxmq.connectionfactories.ConnectionFactoryImpl
      extended by net.sf.dropboxmq.connectionfactories.QueueConnectionFactoryImpl
All Implemented Interfaces:
Serializable, ConnectionFactory, QueueConnectionFactory, Referenceable

public class QueueConnectionFactoryImpl
extends ConnectionFactoryImpl
implements QueueConnectionFactory

Created: 09 Oct 2005

Version:
$Revision: 211 $, $Date: 2010-11-14 14:21:24 -0700 (Sun, 14 Nov 2010) $
Author:
Dwayne Schultz
See Also:
Serialized Form

Constructor Summary
QueueConnectionFactoryImpl(Configuration configuration, ManagedConnectionFactory managedConnectionFactory, ConnectionManager connectionManager)
           
 
Method Summary
 QueueConnection createQueueConnection()
          Creates a queue connection with the default user identity.
 QueueConnection createQueueConnection(String userName, String password)
          Creates a queue connection with the specified user identity.
 
Methods inherited from class net.sf.dropboxmq.connectionfactories.ConnectionFactoryImpl
createConnection, createConnection, createConnection, getConfiguration, getConnectionManager, getManagedConnectionFactory, getReference, setReference, toObjectString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

Constructor Detail

QueueConnectionFactoryImpl

public QueueConnectionFactoryImpl(Configuration configuration,
                                  ManagedConnectionFactory managedConnectionFactory,
                                  ConnectionManager connectionManager)
Method Detail

createQueueConnection

public QueueConnection createQueueConnection()
                                      throws JMSException
Description copied from interface: javax.jms.QueueConnectionFactory
Creates a queue connection with the default user identity. The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called. .

Specified by:
createQueueConnection in interface QueueConnectionFactory
Returns:
a newly created queue connection
Throws:
JMSException - if the JMS provider fails to create the queue connection due to some internal error.

createQueueConnection

public QueueConnection createQueueConnection(String userName,
                                             String password)
                                      throws JMSException
Description copied from interface: javax.jms.QueueConnectionFactory
Creates a queue connection with the specified user identity. The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called.

Specified by:
createQueueConnection in interface QueueConnectionFactory
Parameters:
userName - the caller's user name
password - the caller's password
Returns:
a newly created queue connection
Throws:
JMSException - if the JMS provider fails to create the queue connection due to some internal error.