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 void
commit()
boolean
delistResource(XAResource resource, int i)
boolean
enlistResource(XAResource resource)
boolean
equals(@Nullable Object other)
int
getStatus()
int
hashCode()
void
registerSynchronization(Synchronization synchronization)
void
rollback()
void
setRollbackOnly()
-
-
-
Method Detail
-
registerSynchronization
public void registerSynchronization(Synchronization synchronization) throws RollbackException, IllegalStateException, SystemException
- Specified by:
registerSynchronization
in interfaceTransaction
- Throws:
RollbackException
IllegalStateException
SystemException
-
commit
public void commit() throws UnsupportedOperationException
- Specified by:
commit
in interfaceTransaction
- Throws:
UnsupportedOperationException
-
delistResource
public boolean delistResource(XAResource resource, int i) throws UnsupportedOperationException
- Specified by:
delistResource
in interfaceTransaction
- Throws:
UnsupportedOperationException
-
enlistResource
public boolean enlistResource(XAResource resource) throws UnsupportedOperationException
- Specified by:
enlistResource
in interfaceTransaction
- Throws:
UnsupportedOperationException
-
getStatus
public int getStatus()
- Specified by:
getStatus
in interfaceTransaction
-
rollback
public void rollback() throws UnsupportedOperationException
- Specified by:
rollback
in interfaceTransaction
- Throws:
UnsupportedOperationException
-
setRollbackOnly
public void setRollbackOnly() throws UnsupportedOperationException
- Specified by:
setRollbackOnly
in interfaceTransaction
- Throws:
UnsupportedOperationException
-
-