net.sf.dropboxmq.connectionfactories
Class XATopicConnectionFactoryImpl

java.lang.Object
  extended by net.sf.dropboxmq.connectionfactories.ConnectionFactoryImpl
      extended by net.sf.dropboxmq.connectionfactories.XAConnectionFactoryImpl
          extended by net.sf.dropboxmq.connectionfactories.XATopicConnectionFactoryImpl
All Implemented Interfaces:
Serializable, ConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XATopicConnectionFactory, Referenceable

public class XATopicConnectionFactoryImpl
extends XAConnectionFactoryImpl
implements XATopicConnectionFactory

Created: 30 Jul 2006

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

Constructor Summary
XATopicConnectionFactoryImpl(Configuration configuration, ManagedConnectionFactory managedConnectionFactory, ConnectionManager connectionManager)
           
 
Method Summary
 TopicConnection createTopicConnection()
          Creates a topic connection with the default user identity.
 TopicConnection createTopicConnection(String userName, String password)
          Creates a topic connection with the specified user identity.
 XATopicConnection createXATopicConnection()
          Creates an XA topic connection with the default user identity.
 XATopicConnection createXATopicConnection(String userName, String password)
          Creates an XA topic connection with the specified user identity.
 
Methods inherited from class net.sf.dropboxmq.connectionfactories.XAConnectionFactoryImpl
createXAConnection, createXAConnection
 
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.XAConnectionFactory
createXAConnection, createXAConnection
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

Constructor Detail

XATopicConnectionFactoryImpl

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

createTopicConnection

public TopicConnection createTopicConnection()
                                      throws JMSException
Description copied from interface: javax.jms.TopicConnectionFactory
Creates a topic 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:
createTopicConnection in interface TopicConnectionFactory
Returns:
a newly created topic connection
Throws:
JMSException - if the JMS provider fails to create a topic connection due to some internal error.

createTopicConnection

public TopicConnection createTopicConnection(String userName,
                                             String password)
                                      throws JMSException
Description copied from interface: javax.jms.TopicConnectionFactory
Creates a topic 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:
createTopicConnection in interface TopicConnectionFactory
Parameters:
userName - the caller's user name
password - the caller's password
Returns:
a newly created topic connection
Throws:
JMSException - if the JMS provider fails to create a topic connection due to some internal error.

createXATopicConnection

public XATopicConnection createXATopicConnection()
                                          throws JMSException
Description copied from interface: javax.jms.XATopicConnectionFactory
Creates an XA topic 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:
createXATopicConnection in interface XATopicConnectionFactory
Returns:
a newly created XA topic connection
Throws:
JMSException - if the JMS provider fails to create an XA topic connection due to some internal error.

createXATopicConnection

public XATopicConnection createXATopicConnection(String userName,
                                                 String password)
                                          throws JMSException
Description copied from interface: javax.jms.XATopicConnectionFactory
Creates an XA topic 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:
createXATopicConnection in interface XATopicConnectionFactory
Parameters:
userName - the caller's user name
password - the caller's password
Returns:
a newly created XA topic connection
Throws:
JMSException - if the JMS provider fails to create an XA topic connection due to some internal error.