@Contract
public interface TransactedPoolManager
| Modifier and Type | Method and Description |
|---|---|
void |
registerResource(ResourceHandle handle)
registers the provided resource with the component & enlists the resource in the transaction
|
void |
resourceEnlisted(Transaction tran,
ResourceHandle res)
Indicate that a resource is enlisted.
|
void |
unregisterResource(ResourceHandle resource,
int xaresFlag)
unregisters the resource from the component and delists the resource from the transaction
|
void resourceEnlisted(Transaction tran, ResourceHandle res) throws IllegalStateException
tran - Transaction to which the resource is enlistedres - Resource that is enlistedIllegalStateException - when unable to enlist the resourcevoid registerResource(ResourceHandle handle) throws PoolingException
handle - resource-handlePoolingException - when unable to register the resourcevoid unregisterResource(ResourceHandle resource, int xaresFlag)
resource - resource-handlexaresFlag - Copyright © 2019. All rights reserved.