Package org.kie.api.runtime.manager
Interface RuntimeEngine
-
public interface RuntimeEngine
RuntimeEngine is the main entry point to interact with the process engine and task service. It's responsibility is to ensure that process engine and task service are properly configured and know about each other which eliminate the need to manually setup the integration between these two.
RuntimeEngines are always produced byRuntimeManager
and thus shall never be created manually.RuntimeManager
provides all required information to build and bootstrap theRuntimeEngine
so it is configured and ready to be used regardless of when it is invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuditService
getAuditService()
KieSession
getKieSession()
TaskService
getTaskService()
-
-
-
Method Detail
-
getKieSession
KieSession getKieSession()
- Returns:
KieSession
configured for thisRuntimeEngine
-
getTaskService
TaskService getTaskService()
- Returns:
TaskService
configured for thisRuntimeEngine
-
getAuditService
AuditService getAuditService()
- Returns:
AuditService
that gives access to underlying runtime data such as process instance, node instance and variable log entries.
-
-