|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.jms Interface XAQueueConnection
- 所有父接口:
- Connection, QueueConnection, XAConnection
public interface XAQueueConnection
- extends XAConnection, QueueConnection
An XAQueueConnection
provides the same create options as
QueueConnection
(optional).
The only difference is that an XAConnection
is by definition
transacted.
The XAQueueConnection
interface is optional. JMS providers
are not required to support this interface. This interface is for
use by JMS providers to support transactional environments.
Client programs are strongly encouraged to use the transactional support
available in their environment, rather than use these XA
interfaces directly.
- 版本:
- 1.1 February 2 - 2002
- 作者:
- Mark Hapner, Rich Burridge, Kate Stout
- 另请参见:
XAConnection
方法摘要 | |
---|---|
QueueSession |
createQueueSession(boolean transacted,
int acknowledgeMode)
Creates an XAQueueSession object. |
XAQueueSession |
createXAQueueSession()
Creates an XAQueueSession object. |
Methods inherited from interface javax.jms.XAConnection |
---|
createSession, createXASession |
Methods inherited from interface javax.jms.Connection |
---|
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
Methods inherited from interface javax.jms.QueueConnection |
---|
createConnectionConsumer |
Methods inherited from interface javax.jms.Connection |
---|
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
方法详细信息 |
---|
createXAQueueSession
XAQueueSession createXAQueueSession() throws JMSException
- Creates an
XAQueueSession
object. - 返回:
- a newly created
XAQueueSession
- 抛出异常:
JMSException
- if theXAQueueConnection
object fails to create an XA queue session due to some internal error.
createQueueSession
QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException
- Creates an
XAQueueSession
object. - 规范说明:
createQueueSession
in interfaceQueueConnection
- 参数:
transacted
- usage undefinedacknowledgeMode
- usage undefined- 返回:
- a newly created
XAQueueSession
- 抛出异常:
JMSException
- if theXAQueueConnection
object fails to create an XA queue session due to some internal error.- 另请参见:
Session.AUTO_ACKNOWLEDGE
,Session.CLIENT_ACKNOWLEDGE
,Session.DUPS_OK_ACKNOWLEDGE
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.