|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-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
public class 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 |
| Fields inherited from interface javax.jms.Session |
|---|
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
| 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.XASession |
|---|
getTransacted |
| Methods inherited from interface javax.jms.XASession |
|---|
getTransacted |
| Method Detail |
|---|
public Session getSession()
throws JMSException
XASession.getSession in interface XASessionJMSException - if an internal error occurs.
public QueueSession getQueueSession()
throws JMSException
XAQueueSession.getQueueSession in interface XAQueueSessionJMSException - if an internal error occurs.
public TopicSession getTopicSession()
throws JMSException
XATopicSession.getTopicSession in interface XATopicSessionJMSException - if an internal error occurs.
public void commit()
throws JMSException
TransactionInProgressException, since it should not be called for an XASession object.commit in interface Sessioncommit in interface XASessioncommit in class AQjmsSessionTransactionInProgressException - 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 Sessionrollback in interface XASessionrollback in class AQjmsSessionTransactionInProgressException - 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 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||