XATopicSession.java |
/* * JBoss, the OpenSource EJB server * * Distributable under LGPL license. * See terms of license at gnu.org. */ package javax.jms; /** An <CODE>XATopicSession</CODE> provides a regular <CODE>TopicSession</CODE>. * which can be used to create <CODE>TopicSubscriber</CODE> and * <CODE>TopicPublisher</CODE> objects (optional). * * <P>The <CODE>XATopicSession</CODE> 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. * * @see javax.jms.XASession * @see javax.jms.TopicSession */ public interface XATopicSession extends XASession { /** Gets the topic session associated with this <CODE>XATopicSession</CODE>. * * @return the topic session object * * @exception JMSException if an internal error occurs. */ public TopicSession getTopicSession() throws JMSException; }
XATopicSession.java |