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

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


org.hibernate.transaction
Class WebSphereExtendedJTATransactionLookup.TransactionManagerAdapter.TransactionAdapter

java.lang.Object
  extended byorg.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)
           
 boolean equals(Object other)
           
 int getStatus()
           
 int hashCode()
           
 void registerSynchronization(Synchronization synchronization)
           
 void rollback()
           
 void setRollbackOnly()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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

hashCode

public int hashCode()

equals

public boolean equals(Object other)

commit

public void commit()
            throws UnsupportedOperationException
Specified by:
commit in interface Transaction
Throws:
UnsupportedOperationException

delistResource

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

enlistResource

public boolean enlistResource(XAResource resource)
                       throws UnsupportedOperationException
Specified by:
enlistResource in interface Transaction
Throws:
UnsupportedOperationException

getStatus

public int getStatus()
Specified by:
getStatus in interface Transaction

rollback

public void rollback()
              throws UnsupportedOperationException
Specified by:
rollback in interface Transaction
Throws:
UnsupportedOperationException

setRollbackOnly

public void setRollbackOnly()
                     throws UnsupportedOperationException
Specified by:
setRollbackOnly in interface Transaction
Throws:
UnsupportedOperationException