T - The type of the scoped resource created by this ResourceProviderpublic interface ResourceProvider<T>
| Modifier and Type | Method and Description |
|---|---|
T |
getResource(TransactionControl txControl)
Get a resource which will automatically associate with the current
scope
|
T getResource(TransactionControl txControl) throws TransactionException
txControl - The transaction control service to associate withTransactionControlTransactionException - if the resource cannot be registered with
the transactionCopyright © 2016 The Apache Software Foundation. All rights reserved.