01: /*
02: * @(#)XAQueueSession.java 1.11 02/04/09
03: *
04: * Copyright 1997-2002 Sun Microsystems, Inc. All Rights Reserved.
05: *
06: * SUN PROPRIETARY/CONFIDENTIAL.
07: * This software is the proprietary information of Sun Microsystems, Inc.
08: * Use is subject to license terms.
09: *
10: */
11:
12: package javax.jms;
13:
14: /** An <CODE>XAQueueSession</CODE> provides a regular <CODE>QueueSession</CODE>,
15: * which can be used to
16: * create <CODE>QueueReceiver</CODE>, <CODE>QueueSender</CODE>, and
17: *<CODE>QueueBrowser</CODE> objects (optional).
18: *
19: * <P>The <CODE>XAQueueSession</CODE> interface is optional. JMS providers
20: * are not required to support this interface. This interface is for
21: * use by JMS providers to support transactional environments.
22: * Client programs are strongly encouraged to use the transactional support
23: * available in their environment, rather than use these XA
24: * interfaces directly.
25: *
26: * @version 1.1 - February 2, 2002
27: * @author Mark Hapner
28: * @author Rich Burridge
29: * @author Kate Stout
30: *
31: * @see javax.jms.XASession
32: */
33:
34: public interface XAQueueSession extends XASession {
35:
36: /** Gets the queue session associated with this <CODE>XAQueueSession</CODE>.
37: *
38: * @return the queue session object
39: *
40: * @exception JMSException if an internal error occurs.
41: */
42:
43: QueueSession getQueueSession() throws JMSException;
44: }
|