Modifier and Type | Class and Description |
---|---|
static class |
TransactionEventHandlers.HandlerAndState |
Modifier and Type | Field and Description |
---|---|
protected Collection<TransactionEventHandler> |
transactionEventHandlers |
Constructor and Description |
---|
TransactionEventHandlers(TransactionManager txManager) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(TransactionData transactionData,
int status,
List<TransactionEventHandlers.HandlerAndState> states) |
void |
beforeCompletion(TransactionData transactionData,
List<TransactionEventHandlers.HandlerAndState> states) |
boolean |
hasHandlers() |
void |
init() |
<T> TransactionEventHandler<T> |
registerTransactionEventHandler(TransactionEventHandler<T> handler) |
void |
shutdown() |
void |
start() |
void |
stop() |
<T> TransactionEventHandler<T> |
unregisterTransactionEventHandler(TransactionEventHandler<T> handler) |
protected final Collection<TransactionEventHandler> transactionEventHandlers
public TransactionEventHandlers(TransactionManager txManager)
public void init() throws Throwable
public void start() throws Throwable
public void stop() throws Throwable
public void shutdown() throws Throwable
public <T> TransactionEventHandler<T> registerTransactionEventHandler(TransactionEventHandler<T> handler)
public <T> TransactionEventHandler<T> unregisterTransactionEventHandler(TransactionEventHandler<T> handler)
public boolean hasHandlers()
public void beforeCompletion(TransactionData transactionData, List<TransactionEventHandlers.HandlerAndState> states)
public void afterCompletion(TransactionData transactionData, int status, List<TransactionEventHandlers.HandlerAndState> states)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.