Z - D - public interface TransactionContext<Z,D extends Database<Z>>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this transaction context.
|
InvocationStrategy |
end(InvocationStrategy strategy,
Durability.Phase phase)
Decorates the specified invocation strategy with end transaction logic.
|
<T,R> Invoker<Z,D,T,R,SQLException> |
end(Invoker<Z,D,T,R,SQLException> invoker,
Durability.Phase phase)
Decorates the specified invok with end transaction logic.
|
InvocationStrategy |
start(InvocationStrategy strategy,
Connection connection)
Decorates the specified invocation strategy with start transaction logic.
|
<T,R> Invoker<Z,D,T,R,SQLException> |
start(Invoker<Z,D,T,R,SQLException> invoker,
Connection connection)
Decorates the specified invoker with start transaction logic.
|
InvocationStrategy start(InvocationStrategy strategy, Connection connection) throws SQLException
strategy - connection - SQLException<T,R> Invoker<Z,D,T,R,SQLException> start(Invoker<Z,D,T,R,SQLException> invoker, Connection connection) throws SQLException
T - R - invoker - connection - SQLExceptionInvocationStrategy end(InvocationStrategy strategy, Durability.Phase phase) throws SQLException
strategy - phase - SQLException<T,R> Invoker<Z,D,T,R,SQLException> end(Invoker<Z,D,T,R,SQLException> invoker, Durability.Phase phase) throws SQLException
T - R - invoker - phase - SQLExceptionvoid close()
Copyright © 2004–2014 Paul Ferraro. All rights reserved.