public class KnowledgeRuntimeEngine extends Object implements org.kie.api.runtime.manager.RuntimeEngine
| Constructor and Description |
|---|
KnowledgeRuntimeEngine(org.kie.api.runtime.manager.RuntimeEngine wrapped,
boolean persistent)
Constructs a new knowledge runtime.
|
| Modifier and Type | Method and Description |
|---|---|
org.kie.api.runtime.manager.audit.AuditService |
getAuditService() |
org.kie.api.runtime.KieSession |
getKieSession() |
org.kie.api.runtime.Globals |
getSessionGlobals()
Gets the wrapped globals.
|
Long |
getSessionIdentifier()
Gets the wrapped KieSession identifier.
|
org.kie.api.task.TaskService |
getTaskService() |
org.kie.api.runtime.manager.RuntimeEngine |
getWrapped()
Gets the RuntimeEngine.
|
boolean |
isPersistent()
If persistence is enabled.
|
boolean |
isRemote()
If the wrapped KieSession is remote.
|
public KnowledgeRuntimeEngine(org.kie.api.runtime.manager.RuntimeEngine wrapped,
boolean persistent)
wrapped - the wrapped RuntimeEnginepersistent - if persistence is enabledpublic org.kie.api.runtime.manager.RuntimeEngine getWrapped()
public boolean isRemote()
public boolean isPersistent()
public org.kie.api.runtime.KieSession getKieSession()
getKieSession in interface org.kie.api.runtime.manager.RuntimeEnginepublic org.kie.api.task.TaskService getTaskService()
getTaskService in interface org.kie.api.runtime.manager.RuntimeEnginepublic org.kie.api.runtime.manager.audit.AuditService getAuditService()
getAuditService in interface org.kie.api.runtime.manager.RuntimeEnginepublic Long getSessionIdentifier()
public org.kie.api.runtime.Globals getSessionGlobals()
Copyright © 2013–2017 JBoss by Red Hat. All rights reserved.