org.jbpm.runtime.manager.impl

## Class SynchronizedRuntimeImpl

- java.lang.Object
- - org.jbpm.runtime.manager.impl.RuntimeEngineImpl
  - - org.jbpm.runtime.manager.impl.SynchronizedRuntimeImpl

- All Implemented Interfaces:
    org.kie.api.runtime.manager.RuntimeEngine, org.kie.internal.runtime.manager.Disposable

      public class SynchronizedRuntimeImpl
      extends RuntimeEngineImpl

  This is an extension of the regular `RuntimeEngine` implementation strictly dedicated to `SingletonRuntimeManager` to ensure that access to `RuntimeEngine` resources, such as `KieSession` and `TaskService`, remains synchronized.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SynchronizedRuntimeImpl(org.kie.api.runtime.KieSession ksession, org.kie.internal.task.api.InternalTaskService taskService)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.kie.api.task.TaskService` | `getTaskService()`

    - ### Methods inherited from class org.jbpm.runtime.manager.impl.RuntimeEngineImpl

      `addDisposeListener, dispose, getAuditService, getContext, getKieSession, getKieSessionId, getManager, internalGetKieSession, internalSetKieSession, isAfterCompletion, isDisposed, setAfterCompletion, setContext, setManager`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SynchronizedRuntimeImpl

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

  - ### Method Detail

    - #### getTaskService

          public org.kie.api.task.TaskService getTaskService()

      Specified by:
        `getTaskService` in interface `org.kie.api.runtime.manager.RuntimeEngine`
      Overrides:
        `getTaskService` in class `RuntimeEngineImpl`

Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.