Class DefaultActionExecutorListener
- java.lang.Object
-
- org.nuiton.jaxx.runtime.application.action.event.DefaultActionExecutorListener
-
- All Implemented Interfaces:
EventListener,ActionExecutorListener
public class DefaultActionExecutorListener extends Object implements ActionExecutorListener
Created by tchemit on 27/01/2018.- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Constructor Description DefaultActionExecutorListener(ApplicationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonActionCancel(ActionExecutorEvent event)Hook when a action has been canceled.voidonActionEnd(ActionExecutorEvent event)Hook when a action has end with no failure or cancel.voidonActionFail(ActionExecutorEvent event)Hook when a action has failed.voidonActionStart(ActionExecutorEvent event)Hook when a action is about to start.voidonAfterAction(ActionExecutorEvent event)Hook after action is consumed.
-
-
-
Constructor Detail
-
DefaultActionExecutorListener
public DefaultActionExecutorListener(ApplicationContext context)
-
-
Method Detail
-
onActionStart
public void onActionStart(ActionExecutorEvent event)
Description copied from interface:ActionExecutorListenerHook when a action is about to start.- Specified by:
onActionStartin interfaceActionExecutorListener- Parameters:
event- event
-
onActionFail
public void onActionFail(ActionExecutorEvent event)
Description copied from interface:ActionExecutorListenerHook when a action has failed.- Specified by:
onActionFailin interfaceActionExecutorListener- Parameters:
event- event
-
onActionCancel
public void onActionCancel(ActionExecutorEvent event)
Description copied from interface:ActionExecutorListenerHook when a action has been canceled.- Specified by:
onActionCancelin interfaceActionExecutorListener- Parameters:
event- event
-
onActionEnd
public void onActionEnd(ActionExecutorEvent event)
Description copied from interface:ActionExecutorListenerHook when a action has end with no failure or cancel.- Specified by:
onActionEndin interfaceActionExecutorListener- Parameters:
event- event
-
onAfterAction
public void onAfterAction(ActionExecutorEvent event)
Description copied from interface:ActionExecutorListenerHook after action is consumed.- Specified by:
onAfterActionin interfaceActionExecutorListener- Parameters:
event- event
-
-