Package | Description |
---|---|
agi.foundation |
Contains commonly used types.
|
Modifier and Type | Method and Description |
---|---|
static <TResult> TransactionalSelectCallback<TResult> |
TransactionalSelectCallback.of(TransactionalSelectCallback.Function<TResult> f)
Create a delegate for the given interface.
|
static <TResult> TransactionalSelectCallback<TResult> |
TransactionalSelectCallback.of(TransactionalSelectCallback.Function<TResult> f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static <TResult> TransactionalSelectCallback<TResult> |
TransactionalSelectCallback.of(TransactionalSelectCallback.Function<TResult> f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
<TResult> TResult |
TransactionContext.selectTransactionally(TransactionalSelectCallback<TResult> selector)
Executes the provided callback within a transaction, and automatically commits the
transaction when the callback returns.
|