|
jBPM distribution 6.2.0.Beta2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.runtime.manager.impl.RuntimeEngineImpl
public class RuntimeEngineImpl
Implementation of the RuntimeEngine
that additionally implement Disposable
interface to allow other components to register listeners on it. Usual case is that listeners
and work item handlers might be interested in receiving notification when runtime engine is disposed
to deactivate itself too and not receive other events.
Constructor Summary | |
---|---|
RuntimeEngineImpl(Context<?> context,
RuntimeEngineInitlializer initializer)
|
|
RuntimeEngineImpl(KieSession ksession,
TaskService taskService)
|
Method Summary | |
---|---|
void |
addDisposeListener(org.kie.internal.runtime.manager.DisposeListener listener)
|
void |
dispose()
|
AuditService |
getAuditLogService()
Returns AuditService that gives access to underlying runtime data such
as process instance, node instance and variable log entries. |
KieSession |
getKieSession()
Returns KieSession configured for this RuntimeEngine |
RuntimeManager |
getManager()
|
TaskService |
getTaskService()
Returns TaskService configured for this RuntimeEngine |
KieSession |
internalGetKieSession()
|
void |
internalSetKieSession(KieSession ksession)
|
boolean |
isDisposed()
|
void |
setManager(RuntimeManager manager)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuntimeEngineImpl(KieSession ksession, TaskService taskService)
public RuntimeEngineImpl(Context<?> context, RuntimeEngineInitlializer initializer)
Method Detail |
---|
public KieSession getKieSession()
RuntimeEngine
KieSession
configured for this RuntimeEngine
getKieSession
in interface RuntimeEngine
public TaskService getTaskService()
RuntimeEngine
TaskService
configured for this RuntimeEngine
getTaskService
in interface RuntimeEngine
public void dispose()
dispose
in interface org.kie.internal.runtime.manager.Disposable
public void addDisposeListener(org.kie.internal.runtime.manager.DisposeListener listener)
addDisposeListener
in interface org.kie.internal.runtime.manager.Disposable
public RuntimeManager getManager()
public void setManager(RuntimeManager manager)
public boolean isDisposed()
public AuditService getAuditLogService()
RuntimeEngine
AuditService
that gives access to underlying runtime data such
as process instance, node instance and variable log entries.
getAuditLogService
in interface RuntimeEngine
public KieSession internalGetKieSession()
public void internalSetKieSession(KieSession ksession)
|
jBPM distribution 6.2.0.Beta2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |