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