Package | Description |
---|---|
propel.core.functional.projections | |
propel.core.transactional | |
propel.core.utils |
Modifier and Type | Method and Description |
---|---|
static Actions.Action0 |
MiscProjections.empty()
Returns an action with an empty body
|
static Actions.Action0 |
InvokeDynamic.invokeMethodWithNoArgsOn(java.lang.Object obj,
java.lang.String methodName)
A no-argument action which invokes the method name specified on the given object.
|
static Actions.Action0 |
MiscProjections.throwException(java.lang.Throwable _e)
Action that throws the specified exception when being invoked.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Actions.Action0> |
TransactionManager.getActions()
A list of actions, executed in a way that guarantees complete success or complete failure.
|
java.util.List<Actions.Action0> |
ITransactionManager.getActions()
A list of actions, executed in a way that guarantees complete success or complete failure.
|
java.util.List<Actions.Action0> |
TransactionManager.getRollbackActions()
If an action fails, the corresponding rollback actions are executed
|
java.util.List<Actions.Action0> |
ITransactionManager.getRollbackActions()
If an action fails, the corresponding rollback actions are executed in FIFO or FILO order, as configured by the caller.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionManager.add(Actions.Action0 action)
Adds an action without a corresponding rollback action.
|
void |
ITransactionManager.add(Actions.Action0 action)
Adds an action without a corresponding rollback action.
|
void |
TransactionManager.add(Actions.Action0 action,
Actions.Action0 rollbackAction)
Adds an action and the corresponding rollback action.
|
void |
ITransactionManager.add(Actions.Action0 action,
Actions.Action0 rollbackAction)
Adds an action and the corresponding rollback action.
|
Modifier and Type | Method and Description |
---|---|
static void |
ExceptionUtils.unchecked(Actions.Action0 action)
Executes the given block of code using sneaky throws
|