public class WebSphereExtendedJtaPlatform.TransactionManagerAdapter.TransactionAdapter extends Object implements Transaction
Modifier and Type | Method and Description |
---|---|
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() |
public void registerSynchronization(Synchronization synchronization) throws RollbackException, IllegalStateException, SystemException
registerSynchronization
in interface Transaction
RollbackException
IllegalStateException
SystemException
public void commit() throws UnsupportedOperationException
commit
in interface Transaction
UnsupportedOperationException
public boolean delistResource(XAResource resource, int i) throws UnsupportedOperationException
delistResource
in interface Transaction
UnsupportedOperationException
public boolean enlistResource(XAResource resource) throws UnsupportedOperationException
enlistResource
in interface Transaction
UnsupportedOperationException
public int getStatus()
getStatus
in interface Transaction
public void rollback() throws UnsupportedOperationException
rollback
in interface Transaction
UnsupportedOperationException
public void setRollbackOnly() throws UnsupportedOperationException
setRollbackOnly
in interface Transaction
UnsupportedOperationException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.