1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.jms;
  6. /** An <CODE>XATopicSession</CODE> provides a regular <CODE>TopicSession</CODE>.
  7. * which can be used to create <CODE>TopicSubscriber</CODE> and
  8. * <CODE>TopicPublisher</CODE> objects (optional).
  9. *
  10. * @version 1.0 - 14 May 1998
  11. * @author Mark Hapner
  12. * @author Rich Burridge
  13. *
  14. * @see javax.jms.XASession
  15. * @see javax.jms.TopicSession
  16. */
  17. public interface XATopicSession extends XASession {
  18. /** Gets the topic session associated with this <CODE>XATopicSession</CODE>.
  19. *
  20. * @return the topic session object
  21. *
  22. * @exception JMSException if an internal error occurs.
  23. */
  24. TopicSession
  25. getTopicSession() throws JMSException;
  26. }