org.jboss.mq
Class SpyXAConnection

java.lang.Object
  extended by org.jboss.mq.Connection
      extended by org.jboss.mq.SpyConnection
          extended by org.jboss.mq.SpyXAConnection
All Implemented Interfaces:
Serializable, javax.jms.Connection, javax.jms.QueueConnection, 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.12.6.1 $
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, temps
 
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.Connection
close, createConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 

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
Specified by:
createSession in interface javax.jms.Connection
Specified by:
createSession in interface javax.jms.XAConnection
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.QueueConnection
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
Specified by:
createTopicSession in interface javax.jms.XATopicConnection
Overrides:
createTopicSession in class SpyConnection
Throws:
javax.jms.JMSException

createXASession

public javax.jms.XASession createXASession()
                                    throws javax.jms.JMSException
Specified by:
createXASession in interface javax.jms.XAConnection
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.