当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Interface XATopicSession - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.jms
Interface XATopicSession
- All Superinterfaces:
- java.lang.Runnable, Session, XASession
- public interface XATopicSession
- extends XASession
An XATopicSession provides a regular TopicSession.
which can be used to create TopicSubscriber and
TopicPublisher objects (optional).
- See Also:
XASession,
TopicSession
| Methods inherited from interface javax.jms.Session |
close, createBytesMessage, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTextMessage, createTextMessage, getMessageListener, recover, run, setMessageListener |
getTopicSession
public TopicSession getTopicSession()
throws JMSException
- Gets the topic session associated with this
XATopicSession.
- Returns:
- the topic session object
- Throws:
JMSException - if an internal error occurs.