|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.jms Interface XAQueueSession
public interface XAQueueSession
- extends XASession
XAQueueSession
提供常规 QueueSession
,可用于创建 QueueReceiver
、QueueSender
和 QueueBrowser
对象(可选)。
XAQueueSession
接口是可选的。JMS 提供者不需要支持此接口。此接口供 JMS 提供者使用,以支持事务环境。强烈建议客户端程序使用其环境中可用的事务支持,而不是直接使用这些 XA 接口。
version |
| |
See also | javax.jms.XASession |
An XAQueueSession
provides a regular QueueSession
,
which can be used to
create QueueReceiver
, QueueSender
, and
QueueBrowser
objects (optional).
The XAQueueSession
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.
- Version:
- 1.1 - February 2, 2002
- Author:
- Mark Hapner, Rich Burridge, Kate Stout
- See Also:
XASession
Field Summary |
---|
Fields inherited from interface javax.jms.Session |
---|
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Method Summary | |
---|---|
QueueSession |
getQueueSession()
Gets the queue session associated with this XAQueueSession . |
Methods inherited from interface javax.jms.XASession |
---|
commit, getSession, getTransacted, getXAResource, rollback |
Method Detail |
---|
public QueueSession
getQueueSession() throws JMSException
获取与此 XAQueueSession
关联的队列会话。
return | 队列会话对象 |
Throws | JMSException: 如果发生内部错误。 |
getQueueSession
QueueSession getQueueSession() throws JMSException
- Gets the queue session associated with this
XAQueueSession
. - Returns:
- the queue session object
- Throws:
JMSException
- if an internal error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!