Class WebSphereExtendedJtaPlatform.TransactionManagerAdapter.TransactionAdapter
- java.lang.Object
-
- org.hibernate.engine.transaction.jta.platform.internal.WebSphereExtendedJtaPlatform.TransactionManagerAdapter.TransactionAdapter
-
- All Implemented Interfaces:
Transaction
- Enclosing class:
- WebSphereExtendedJtaPlatform.TransactionManagerAdapter
public class WebSphereExtendedJtaPlatform.TransactionManagerAdapter.TransactionAdapter extends Object implements Transaction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()booleandelistResource(XAResource resource, int i)booleanenlistResource(XAResource resource)booleanequals(Object other)intgetStatus()inthashCode()voidregisterSynchronization(Synchronization synchronization)voidrollback()voidsetRollbackOnly()
-
-
-
Method Detail
-
registerSynchronization
public void registerSynchronization(Synchronization synchronization) throws RollbackException, IllegalStateException, SystemException
- Specified by:
registerSynchronizationin interfaceTransaction- Throws:
RollbackExceptionIllegalStateExceptionSystemException
-
commit
public void commit() throws UnsupportedOperationException- Specified by:
commitin interfaceTransaction- Throws:
UnsupportedOperationException
-
delistResource
public boolean delistResource(XAResource resource, int i) throws UnsupportedOperationException
- Specified by:
delistResourcein interfaceTransaction- Throws:
UnsupportedOperationException
-
enlistResource
public boolean enlistResource(XAResource resource) throws UnsupportedOperationException
- Specified by:
enlistResourcein interfaceTransaction- Throws:
UnsupportedOperationException
-
getStatus
public int getStatus()
- Specified by:
getStatusin interfaceTransaction
-
rollback
public void rollback() throws UnsupportedOperationException- Specified by:
rollbackin interfaceTransaction- Throws:
UnsupportedOperationException
-
setRollbackOnly
public void setRollbackOnly() throws UnsupportedOperationException- Specified by:
setRollbackOnlyin interfaceTransaction- Throws:
UnsupportedOperationException
-
-