|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
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
public class AQjmsXASession
This is an Oracle class which implements 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 |
Methods inherited from interface javax.jms.QueueSession |
---|
createBrowser |
Methods inherited from interface javax.jms.TopicSession |
---|
createDurableSubscriber, unsubscribe |
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 Session
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 Session
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® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001, 2013, Oracle and/or its affiliates. All rights reserved.
For authorized use only.
Do not distribute to third parties.