|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jms.AQjmsObject
oracle.jms.AQjmsSession
oracle.jms.AQjmsXASession
Oracle class implementing javax.jms.XASession, javax.jms.XAQueueSession and javax.jms.XATopicSession
Field Summary |
Fields inherited from interface javax.jms.Session |
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Method Summary | |
void |
commit() Throws a TransactionInProgressException , since it should not be called for an XASession object. |
QueueSession |
getQueueSession() Gets the queue session associated with this XAQueueSession . |
Session |
getSession() Gets the session associated with this XASession . |
TopicSession |
getTopicSession() Gets the topic session associated with this XATopicSession . |
javax.transaction.xa.XAResource |
getXAResource() Returns an XA resource to the caller. |
void |
rollback() Throws a TransactionInProgressException , since it should not be called for an XASession object. |
Methods inherited from class oracle.jms.AQjmsObject |
checkClosed, children, finalize, getID, getParent, isOpen, localClose, preClose |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.XASession |
getTransacted |
Method Detail |
public Session getSession() throws JMSException
XASession
.getSession
in interface XASession
JMSException
- if an internal error occurs.public QueueSession getQueueSession() throws JMSException
XAQueueSession
.getQueueSession
in interface XAQueueSession
JMSException
- if an internal error occurs.public TopicSession getTopicSession() throws JMSException
XATopicSession
.getTopicSession
in interface XATopicSession
JMSException
- if an internal error occurs.public void commit() throws JMSException
TransactionInProgressException
, since it should not be called for an XASession
object.commit
in interface XASession
commit
in class AQjmsSession
TransactionInProgressException
- if the method is called on an XASession
.JMSException
- if the transaction is not committed due to some error.public void rollback() throws JMSException
TransactionInProgressException
, since it should not be called for an XASession
object.rollback
in interface XASession
rollback
in class AQjmsSession
TransactionInProgressException
- if the method is called on an XASession
.JMSException
- if the transaction is not rolled back due to some error.public javax.transaction.xa.XAResource getXAResource()
getXAResource
in interface XASession
|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |