当前页面:
在线文档首页 >
JBoss 3.2.7 iiop API Documentation 英文版文档
ForeignTransaction (JBoss IIOP Plugin API) - JBoss 3.2.7 iiop API Documentation 英文版文档
org.jboss.proxy.ejb
Class ForeignTransaction
java.lang.Object
org.jboss.proxy.ejb.ForeignTransaction
- All Implemented Interfaces:
- Transaction
- public class ForeignTransaction
- extends Object
- implements Transaction
A ForeignTransaction, a marker for when we would have to import a
transaction from another vendor. Which we don't do at the moment.
- Version:
- $Revision: 1.1.6.1 $
- Author:
- Adrian Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final ForeignTransaction instance
commit
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
SystemException
- Specified by:
commit
in interface Transaction
- Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
SystemException
rollback
public void rollback()
throws IllegalStateException,
SystemException
- Specified by:
rollback
in interface Transaction
- Throws:
IllegalStateException
SystemException
setRollbackOnly
public void setRollbackOnly()
throws IllegalStateException,
SystemException
- Specified by:
setRollbackOnly
in interface Transaction
- Throws:
IllegalStateException
SystemException
getStatus
public int getStatus()
throws SystemException
- Specified by:
getStatus
in interface Transaction
- Throws:
SystemException
enlistResource
public boolean enlistResource(XAResource xaRes)
throws RollbackException,
IllegalStateException,
SystemException
- Specified by:
enlistResource
in interface Transaction
- Throws:
RollbackException
IllegalStateException
SystemException
delistResource
public boolean delistResource(XAResource xaRes,
int flag)
throws IllegalStateException,
SystemException
- Specified by:
delistResource
in interface Transaction
- Throws:
IllegalStateException
SystemException
registerSynchronization
public void registerSynchronization(Synchronization sync)
throws RollbackException,
IllegalStateException,
SystemException
- Specified by:
registerSynchronization
in interface Transaction
- Throws:
RollbackException
IllegalStateException
SystemException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.