ch.tatool.app.service.exec
Interface ExecutionService

All Known Implementing Classes:
ExecutionServiceImpl

public interface ExecutionService

Service that allows executing a module instance.

Author:
Michael Ruflin

Method Summary
 boolean canExecute(Module module)
          Returns whether a module can currently be executed.
 Executor createExecutor(Module module)
          Initializes the executor.
 PhaseListenerManager getPhaseListenerManager()
          Get the PhaseListener manager object that can be used to add new listeners to the service.
 void startExecution(Executor executor, boolean blockCallerThread)
          Executes the executor.
 

Method Detail

canExecute

boolean canExecute(Module module)
Returns whether a module can currently be executed.


createExecutor

Executor createExecutor(Module module)
Initializes the executor.


startExecution

void startExecution(Executor executor,
                    boolean blockCallerThread)
Executes the executor.


getPhaseListenerManager

PhaseListenerManager getPhaseListenerManager()
Get the PhaseListener manager object that can be used to add new listeners to the service.



Copyright © 2012. All Rights Reserved.