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

SpyXAConnection (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq
Class SpyXAConnection

java.lang.Object
  extended byorg.jboss.mq.Connection
      extended byorg.jboss.mq.SpyConnection
          extended byorg.jboss.mq.SpyXAConnection
All Implemented Interfaces:
javax.jms.Connection, javax.jms.QueueConnection, Serializable, javax.jms.TopicConnection, javax.jms.XAConnection, javax.jms.XAQueueConnection, javax.jms.XATopicConnection

public class SpyXAConnection
extends SpyConnection
implements Serializable, javax.jms.XAConnection, javax.jms.XATopicConnection, javax.jms.XAQueueConnection

This class implements javax.jms.XAQueueConnection

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

Field Summary
 
Fields inherited from class org.jboss.mq.Connection
clientID, clientILService, clockDaemon, closing, connectionToken, destinationSubscriptions, modeStop, pingPeriod, ponged, serverIL, subscriptions
 
Constructor Summary
SpyXAConnection(GenericConnectionFactory gcf)
          Create a new SpyXAConnection
SpyXAConnection(String userid, String password, GenericConnectionFactory gcf)
          Create a new SpyXAConnection
 
Method Summary
 javax.jms.QueueSession createQueueSession(boolean transacted, int acknowledgeMode)
           
 javax.jms.Session createSession(boolean transacted, int acknowledgeMode)
           
 javax.jms.TopicSession createTopicSession(boolean transacted, int acknowledgeMode)
           
 javax.jms.XAQueueSession createXAQueueSession()
           
 javax.jms.XASession createXASession()
           
 javax.jms.XATopicSession createXATopicSession()
           
 
Methods inherited from class org.jboss.mq.SpyConnection
createConnectionConsumer, createConnectionConsumer, createConnectionConsumer, createDurableConnectionConsumer
 
Methods inherited from class org.jboss.mq.Connection
askForAnID, askForAnID, asynchClose, asynchDeleteTemporaryDestination, asynchDeliver, asynchFailure, asynchPong, authenticate, checkClientID, close, deleteTemporaryDestination, doStop, getClientID, getExceptionListener, getMetaData, getServerIL, getThreadGroup, send, send, setClientID, setExceptionListener, start, startILService, stop, stopILService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer
 
Methods inherited from interface javax.jms.Connection
close, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer
 

Constructor Detail

SpyXAConnection

public SpyXAConnection(String userid,
                       String password,
                       GenericConnectionFactory gcf)
                throws javax.jms.JMSException
Create a new SpyXAConnection

Parameters:
userid - the user
password - the password
gcf - the constructing class
Throws:
javax.jms.JMSException - for any error

SpyXAConnection

public SpyXAConnection(GenericConnectionFactory gcf)
                throws javax.jms.JMSException
Create a new SpyXAConnection

Parameters:
gcf - the constructing class
Throws:
javax.jms.JMSException - for any error
Method Detail

createSession

public javax.jms.Session createSession(boolean transacted,
                                       int acknowledgeMode)
                                throws javax.jms.JMSException
Overrides:
createSession in class SpyConnection
Throws:
javax.jms.JMSException

createQueueSession

public javax.jms.QueueSession createQueueSession(boolean transacted,
                                                 int acknowledgeMode)
                                          throws javax.jms.JMSException
Specified by:
createQueueSession in interface javax.jms.XAQueueConnection
Overrides:
createQueueSession in class SpyConnection
Throws:
javax.jms.JMSException

createTopicSession

public javax.jms.TopicSession createTopicSession(boolean transacted,
                                                 int acknowledgeMode)
                                          throws javax.jms.JMSException
Specified by:
createTopicSession in interface javax.jms.TopicConnection
Overrides:
createTopicSession in class SpyConnection
Throws:
javax.jms.JMSException

createXASession

public javax.jms.XASession createXASession()
                                    throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createXAQueueSession

public javax.jms.XAQueueSession createXAQueueSession()
                                              throws javax.jms.JMSException
Specified by:
createXAQueueSession in interface javax.jms.XAQueueConnection
Throws:
javax.jms.JMSException

createXATopicSession

public javax.jms.XATopicSession createXATopicSession()
                                              throws javax.jms.JMSException
Specified by:
createXATopicSession in interface javax.jms.XATopicConnection
Throws:
javax.jms.JMSException


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