org.jboss.mq
Class SpyXAConnectionFactory

java.lang.Object
  extended by org.jboss.mq.SpyConnectionFactory
      extended by org.jboss.mq.SpyXAConnectionFactory
All Implemented Interfaces:
Serializable, javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.jms.XAConnectionFactory, javax.jms.XAQueueConnectionFactory, javax.jms.XATopicConnectionFactory, Referenceable

public class SpyXAConnectionFactory
extends SpyConnectionFactory
implements Serializable, javax.jms.XAConnectionFactory, javax.jms.XAQueueConnectionFactory, javax.jms.XATopicConnectionFactory

This class implements javax.jms.XATopicConnectionFactory and javax.jms.XAQueueConnectionFactory.

Version:
$Revision: 1.11.6.1 $
Author:
Hiram Chirino (Cojonudo14@hotmail.com), Jason Dillon, Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.mq.SpyConnectionFactory
factory
 
Constructor Summary
SpyXAConnectionFactory(GenericConnectionFactory factory)
          Create a new SpyXAConnectionFactory
SpyXAConnectionFactory(Properties config)
          Create a new SpyXAConnectionFactory
 
Method Summary
 javax.jms.XAConnection createXAConnection()
           
 javax.jms.XAConnection createXAConnection(String userName, String password)
           
 javax.jms.XAQueueConnection createXAQueueConnection()
           
 javax.jms.XAQueueConnection createXAQueueConnection(String userName, String password)
           
 javax.jms.XATopicConnection createXATopicConnection()
           
 javax.jms.XATopicConnection createXATopicConnection(String userName, String password)
           
 Reference getReference()
           
 
Methods inherited from class org.jboss.mq.SpyConnectionFactory
createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.QueueConnectionFactory
createQueueConnection, createQueueConnection
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 
Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

Constructor Detail

SpyXAConnectionFactory

public SpyXAConnectionFactory(GenericConnectionFactory factory)
Create a new SpyXAConnectionFactory

Parameters:
factory - the generic connection factory

SpyXAConnectionFactory

public SpyXAConnectionFactory(Properties config)
Create a new SpyXAConnectionFactory

Parameters:
config - the configuration
Method Detail

createXAConnection

public javax.jms.XAConnection createXAConnection()
                                          throws javax.jms.JMSException
Specified by:
createXAConnection in interface javax.jms.XAConnectionFactory
Throws:
javax.jms.JMSException

createXAConnection

public javax.jms.XAConnection createXAConnection(String userName,
                                                 String password)
                                          throws javax.jms.JMSException
Specified by:
createXAConnection in interface javax.jms.XAConnectionFactory
Throws:
javax.jms.JMSException

createXAQueueConnection

public javax.jms.XAQueueConnection createXAQueueConnection()
                                                    throws javax.jms.JMSException
Specified by:
createXAQueueConnection in interface javax.jms.XAQueueConnectionFactory
Throws:
javax.jms.JMSException

createXAQueueConnection

public javax.jms.XAQueueConnection createXAQueueConnection(String userName,
                                                           String password)
                                                    throws javax.jms.JMSException
Specified by:
createXAQueueConnection in interface javax.jms.XAQueueConnectionFactory
Throws:
javax.jms.JMSException

createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection()
                                                    throws javax.jms.JMSException
Specified by:
createXATopicConnection in interface javax.jms.XATopicConnectionFactory
Throws:
javax.jms.JMSException

createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection(String userName,
                                                           String password)
                                                    throws javax.jms.JMSException
Specified by:
createXATopicConnection in interface javax.jms.XATopicConnectionFactory
Throws:
javax.jms.JMSException

getReference

public Reference getReference()
                       throws NamingException
Specified by:
getReference in interface Referenceable
Overrides:
getReference in class SpyConnectionFactory
Throws:
NamingException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.