jBPM distribution 6.2.0.Beta2

org.jbpm.runtime.manager.impl
Class SynchronizedRuntimeImpl

java.lang.Object
  extended by org.jbpm.runtime.manager.impl.RuntimeEngineImpl
      extended by org.jbpm.runtime.manager.impl.SynchronizedRuntimeImpl
All Implemented Interfaces:
RuntimeEngine, org.kie.internal.runtime.manager.Disposable

public class SynchronizedRuntimeImpl
extends RuntimeEngineImpl

Extension of the regular RuntimeEngine implementation strictly dedicated to SingletonRuntimeManager to ensure that access to RuntimeEngine resources, such as KieSession and TaskService is synchronized.


Constructor Summary
SynchronizedRuntimeImpl(KieSession ksession, org.kie.internal.task.api.InternalTaskService taskService)
           
 
Method Summary
 TaskService getTaskService()
          Returns TaskService configured for this RuntimeEngine
 
Methods inherited from class org.jbpm.runtime.manager.impl.RuntimeEngineImpl
addDisposeListener, dispose, getAuditLogService, getKieSession, getManager, internalGetKieSession, internalSetKieSession, isDisposed, setManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizedRuntimeImpl

public SynchronizedRuntimeImpl(KieSession ksession,
                               org.kie.internal.task.api.InternalTaskService taskService)
Method Detail

getTaskService

public TaskService getTaskService()
Description copied from interface: RuntimeEngine
Returns TaskService configured for this RuntimeEngine

Specified by:
getTaskService in interface RuntimeEngine
Overrides:
getTaskService in class RuntimeEngineImpl
Returns:

jBPM distribution 6.2.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.