question: private void executeHooks ( List < AbstractHook > hooks , EventData [ ] events ) { if ( hooks != null ) { for ( AbstractHook hook : hooks ) { HookAndEvents hookAndEvents = new HookAndEvents ( hook , events ) ; hookRouter . route ( hookAndEvents , getSelf ( ) ) ; } } }
target:  Helper method to execute pre and post Task execution Hooks as independent Actor invocations