javax.jms
Interface XASession

All Superinterfaces:
Runnable, Session
All Known Subinterfaces:
XAQueueSession, XATopicSession

public interface XASession
extends Session

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Field Summary
 
Fields inherited from interface javax.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
 
Method Summary
 void commit()
           
 Session getSession()
           
 boolean getTransacted()
           
 XAResource getXAResource()
           
 void rollback()
           
 
Methods inherited from interface javax.jms.Session
close, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, recover, run, setMessageListener, unsubscribe
 

Method Detail

getSession

Session getSession()
                   throws JMSException
Throws:
JMSException

getXAResource

XAResource getXAResource()

getTransacted

boolean getTransacted()
                      throws JMSException
Specified by:
getTransacted in interface Session
Throws:
JMSException

commit

void commit()
            throws JMSException
Specified by:
commit in interface Session
Throws:
JMSException

rollback

void rollback()
              throws JMSException
Specified by:
rollback in interface Session
Throws:
JMSException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.