Package org.bonitasoft.engine.work
Interface BonitaExecutorServiceFactory
-
- All Known Implementing Classes:
DefaultBonitaExecutorServiceFactory
public interface BonitaExecutorServiceFactoryA factory to create executor service that will be given to the WorkService- Author:
- Baptiste Mesta
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BonitaExecutorServicecreateExecutorService(WorkExecutionCallback workExecutionCallback)Create a bonita executor service with the givenWorkExecutionCallbackdefault voidunbind()
-
-
-
Method Detail
-
createExecutorService
BonitaExecutorService createExecutorService(WorkExecutionCallback workExecutionCallback)
Create a bonita executor service with the givenWorkExecutionCallback- Parameters:
workExecutionCallback- this callback will be executed when a work complete.- Returns:
- the
BonitaExecutorService
-
unbind
default void unbind()
-
-