239240241242243244245246247248249
} private void registerTransactionEventHookIfNeeded() throws SystemException, RollbackException { TransactionEventsSyncHook hook = syncHookFactory.create(); if ( hook != null ) { this.transactionManager.getTransaction().registerSynchronization( hook ); }
543544545546547548549550551
{ @Override public TransactionEventsSyncHook create() { return transactionEventHandlers.isEmpty() ? null : new TransactionEventsSyncHook( nodeManager, transactionEventHandlers, getConfig().getTxModule().getTxManager() ); }