Package org.bonitasoft.engine.work
Interface BonitaExecutorServiceFactory
- All Known Implementing Classes:
DefaultBonitaExecutorServiceFactory
public interface BonitaExecutorServiceFactory
A factory to create executor service that will be given to the WorkService
- Author:
- Baptiste Mesta
-
Method Summary
Modifier and TypeMethodDescriptioncreateExecutorService(WorkExecutionCallback workExecutionCallback) Create a bonita executor service with the givenWorkExecutionCallbackdefault voidunbind()
-
Method Details
-
createExecutorService
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()
-