站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.transaction
Class WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter

java.lang.Object
  extended bynet.sf.hibernate.transaction.WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter
All Implemented Interfaces:
Transaction
Enclosing class:
WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter

public class WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter
extends Object
implements Transaction


Method Summary
 void commit()
           
 boolean delistResource(XAResource resource, int i)
           
 boolean enlistResource(XAResource resource)
           
 int getStatus()
           
 void registerSynchronization(Synchronization synchronization)
           
 void rollback()
           
 void setRollbackOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerSynchronization

public void registerSynchronization(Synchronization synchronization)
                             throws RollbackException,
                                    IllegalStateException,
                                    SystemException
Specified by:
registerSynchronization in interface Transaction
Throws:
RollbackException
IllegalStateException
SystemException

commit

public void commit()
            throws RollbackException,
                   HeuristicMixedException,
                   HeuristicRollbackException,
                   SecurityException,
                   IllegalStateException,
                   SystemException
Specified by:
commit in interface Transaction
Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException

delistResource

public boolean delistResource(XAResource resource,
                              int i)
                       throws IllegalStateException,
                              SystemException
Specified by:
delistResource in interface Transaction
Throws:
IllegalStateException
SystemException

enlistResource

public boolean enlistResource(XAResource resource)
                       throws RollbackException,
                              IllegalStateException,
                              SystemException
Specified by:
enlistResource in interface Transaction
Throws:
RollbackException
IllegalStateException
SystemException

getStatus

public int getStatus()
              throws SystemException
Specified by:
getStatus in interface Transaction
Throws:
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