Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.runtime.manager.impl
Class RuntimeEngineImpl

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

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

Direct Known Subclasses:
  SynchronizedRuntimeImpl

    public class RuntimeEngineImpl

extends Object
implements RuntimeEngine, org.kie.internal.runtime.manager.Disposable

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(KieSession ksession, TaskService taskService)`

Method Summary
`void` | `addDisposeListener(org.kie.internal.runtime.manager.DisposeListener listener)`
`void` | `dispose()`
`KieSession` | `getKieSession()`
`RuntimeManager` | `getManager()`
`TaskService` | `getTaskService()`
`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

### RuntimeEngineImpl

    public RuntimeEngineImpl(KieSession ksession,
                             TaskService taskService)

Method Detail

### getKieSession

    public KieSession getKieSession()

  Specified by:
    `getKieSession` in interface `RuntimeEngine`

### getTaskService

    public TaskService getTaskService()

  Specified by:
    `getTaskService` in interface `RuntimeEngine`

### dispose

    public void dispose()

  Specified by:
    `dispose` in interface `org.kie.internal.runtime.manager.Disposable`

### addDisposeListener

    public void addDisposeListener(org.kie.internal.runtime.manager.DisposeListener listener)

  Specified by:
    `addDisposeListener` in interface `org.kie.internal.runtime.manager.Disposable`

### getManager

    public RuntimeManager getManager()

### setManager

    public void setManager(RuntimeManager manager)

### isDisposed

    public boolean isDisposed()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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