jrun.jms.xa
Class JRunXASessionImpl
jrun.jms.wrapper.enterprise.AbstractSessionWrapper
|
+--jrun.jms.xa.JRunXASessionImpl
- All Implemented Interfaces:
- JRunXASession, SessionWrapper, StateObject
- Direct Known Subclasses:
- JRunXASessionWrapper
- public class JRunXASessionImpl
- extends AbstractSessionWrapper
- implements JRunXASession
| Methods inherited from class jrun.jms.wrapper.enterprise.AbstractSessionWrapper |
autoCommit, autoRollback, createBrowser, createBrowser, createBytesMessage, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createPublisher, createQueue, createReceiver, createReceiver, createSender, createStreamMessage, createSubscriber, createSubscriber, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getInvokerType, getMessageListener, getQueueSession, getSessionStatus, getTopicSession, getTransactionInProgress, handleTransaction, isAutoCommit, isClosed, isRestricted, markClosed, recover, SetInitialTransactionAttributes, setInvokerType, setMessageListener, setSessionStatus, setTransactionInProgress, TransactioninProgress, unsubscribe |
JRunXASessionImpl
public JRunXASessionImpl()
JRunXASessionImpl
public JRunXASessionImpl(javax.jms.Session session,
JRunXAConnection xaConnection)
throws javax.jms.JMSException
setDelegate
public void setDelegate(javax.jms.Session session)
throws javax.jms.JMSException
- Specified by:
setDelegate in interface SessionWrapper
setConnectionWrapper
public void setConnectionWrapper(ConnectionWrapper cw)
- Specified by:
setConnectionWrapper in interface SessionWrapper
getDelegate
public javax.jms.Session getDelegate()
- Specified by:
getDelegate in interface SessionWrapper
getXADelegate
public javax.jms.XASession getXADelegate()
- Specified by:
getXADelegate in interface SessionWrapper
getXAResource
public javax.transaction.xa.XAResource getXAResource()
- Specified by:
getXAResource in interface SessionWrapper
commit
public void commit()
throws javax.jms.JMSException
- Overrides:
commit in class AbstractSessionWrapper
rollback
public void rollback()
throws javax.jms.JMSException
- Overrides:
rollback in class AbstractSessionWrapper
getTransacted
public boolean getTransacted()
throws javax.jms.JMSException
- Overrides:
getTransacted in class AbstractSessionWrapper
close
public void close()
throws javax.jms.JMSException
- Specified by:
close in interface SessionWrapper- Overrides:
close in class AbstractSessionWrapper
run
public void run()
- Overrides:
run in class AbstractSessionWrapper
cleanUpSession
public void cleanUpSession()
throws javax.jms.JMSException
- Specified by:
cleanUpSession in interface JRunXASession
cleanUp
public void cleanUp()
sameTransaction
public boolean sameTransaction(javax.transaction.xa.Xid xid)
throws javax.jms.JMSException
- Specified by:
sameTransaction in interface SessionWrapper
preMessageProcess
public boolean preMessageProcess()
throws javax.jms.JMSException
- Specified by:
preMessageProcess in interface SessionWrapper
postMessageProcess
public boolean postMessageProcess(boolean success)
throws javax.jms.JMSException
- Specified by:
postMessageProcess in interface SessionWrapper
Copyright � 2002 Macromedia Corporation. All Rights Reserved.