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>XAQueueSession</CODE> provides a regular <CODE>QueueSession</CODE>,
  7. * which can be used to
  8. * create <CODE>QueueReceiver</CODE>, <CODE>QueueSender</CODE>, and
  9. *<CODE>QueueBrowser</CODE> objects (optional).
  10. *
  11. * @version 1.0 - 13 March 1998
  12. * @author Mark Hapner
  13. * @author Rich Burridge
  14. *
  15. * @see javax.jms.XASession
  16. */
  17. public interface XAQueueSession extends XASession {
  18. /** Gets the queue session associated with this <CODE>XAQueueSession</CODE>.
  19. *
  20. * @return the queue session object
  21. *
  22. * @exception JMSException if an internal error occurs.
  23. */
  24. QueueSession
  25. getQueueSession() throws JMSException;
  26. }