T - @ConsumerType public interface ResourceProvider<T>
| Modifier and Type | Method and Description | 
|---|---|
T | 
getResource(TransactionControl txControl)
Get a resource which will associate with the current transaction context
 when used 
 | 
T getResource(TransactionControl txControl) throws TransactionException
txControl - TransactionException - if the resource cannot be registered with
             the transactionCopyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0