站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 messaging API Documentation 英文版文档

SpyXAConnectionFactory (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档


org.jboss.mq
Class SpyXAConnectionFactory

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

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 $
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
 
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
 

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.