private void runEDBPostHooks ( EDBCommit commit ) { for ( EDBPostCommitHook hook : postCommitHooks ) { try { hook . onPostCommit ( commit ) ; } catch ( ServiceUnavailableException e ) { // Ignore } catch ( Exception e ) { logger . error ( "Error while performing EDBPostCommitHook" , e ) ; } } }
Runs all registered post commit hooks on the EDBCommit object . Logs exceptions which occurs in the hooks except for ServiceUnavailableExceptions .