当前页面:
在线文档首页 >
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
org.jboss.mq.Connection
org.jboss.mq.SpyConnection
org.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
Fields inherited from class org.jboss.mq.Connection |
clientID, clientILService, clockDaemon, closing, connectionToken, destinationSubscriptions, modeStop, pingPeriod, ponged, serverIL, subscriptions |
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 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 |
SpyXAConnection
public SpyXAConnection(String userid,
String password,
GenericConnectionFactory gcf)
throws javax.jms.JMSException
- Create a new SpyXAConnection
- Parameters:
userid
- the userpassword
- the passwordgcf
- 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
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.