public interface TransactionalResource
Modifier and Type | Method and Description |
---|---|
void |
closeUserConnection() |
void |
destroyResource() |
void |
enlistedInTransaction(Transaction tran)
Indicates that a resource has been enlisted in the transaction.
|
Object |
getComponentInstance() |
String |
getName() |
XAResource |
getXAResource() |
boolean |
isEnlisted() |
boolean |
isEnlistmentSuspended() |
boolean |
isShareable() |
boolean |
isTransactional() |
void |
setComponentInstance(Object instance) |
boolean |
supportsXA() |
boolean isTransactional()
boolean isEnlistmentSuspended()
XAResource getXAResource()
boolean supportsXA()
Object getComponentInstance()
void setComponentInstance(Object instance)
boolean isEnlisted()
boolean isShareable()
void destroyResource()
String getName()
void enlistedInTransaction(Transaction tran) throws IllegalStateException
tran
- Transaction to which the resource is enlistedIllegalStateException
- when unable to enlist the resourceCopyright © 2019. All rights reserved.