Package org.kie.api.runtime.manager
Interface RuntimeEngine
-
public interface RuntimeEngineRuntimeEngine 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 byRuntimeManagerand thus shall never be created manually.RuntimeManagerprovides all required information to build and bootstrap theRuntimeEngineso 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 AuditServicegetAuditService()KieSessiongetKieSession()TaskServicegetTaskService()
-
-
-
Method Detail
-
getKieSession
KieSession getKieSession()
- Returns:
KieSessionconfigured for thisRuntimeEngine
-
getTaskService
TaskService getTaskService()
- Returns:
TaskServiceconfigured for thisRuntimeEngine
-
getAuditService
AuditService getAuditService()
- Returns:
AuditServicethat gives access to underlying runtime data such as process instance, node instance and variable log entries.
-
-