public final class BusinessTransactionTemplate extends Object
initial state
of the business transaction. The template is stateless and thread-safe.Constructor and Description |
---|
BusinessTransactionTemplate() |
Modifier and Type | Method and Description |
---|---|
<T> T |
execute(String description,
BusinessTransactionCallBack<T> action)
Executes the given action as a new business transaction.
|
<T> T |
execute(String description,
EventType eventSubType,
BusinessTransactionCallBack<T> action)
Executes the given action as a new business transaction.
|
public <T> T execute(String description, BusinessTransactionCallBack<T> action)
T
- the type of the business transaction callbackdescription
- the description of the new transactionaction
- the action to execute as part of this business transactionpublic <T> T execute(String description, EventType eventSubType, BusinessTransactionCallBack<T> action)
T
- the type of the business transaction callbackdescription
- the description of the business transactioneventSubType
- the event sub type of the business transactionaction
- the action that makes up the business transactionCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.