Package org.camunda.bpm.cockpit.service
Class AbstractEngineAware
- java.lang.Object
-
- org.camunda.bpm.cockpit.service.AbstractEngineAware
-
@Deprecated public class AbstractEngineAware extends Object
Deprecated.Base class for engine aware service and resource implementations.Subclasses must implement a constructor that accepts the name of the engine for which cockpit services should be provided.
- Author:
- nico.rehwaldt
-
-
Constructor Summary
Constructors Constructor Description AbstractEngineAware(String engineName)Deprecated.Creates a engine aware instance for the given engine
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected CommandExecutorgetCommandExecutor()Deprecated.Return aCommandExecutorfor the current engine to execute plugin commands.protected org.camunda.bpm.engine.ProcessEnginegetProcessEngine()Deprecated.Return aProcessEnginefor the current engine name to execute queries against the engine.protected QueryServicegetQueryService()Deprecated.Return aQueryServicefor the current engine to execute queries against the engine datbase.
-
-
-
Constructor Detail
-
AbstractEngineAware
public AbstractEngineAware(String engineName)
Deprecated.Creates a engine aware instance for the given engine- Parameters:
engineName-
-
-
Method Detail
-
getCommandExecutor
protected CommandExecutor getCommandExecutor()
Deprecated.Return aCommandExecutorfor the current engine to execute plugin commands.- Returns:
-
getQueryService
protected QueryService getQueryService()
Deprecated.Return aQueryServicefor the current engine to execute queries against the engine datbase.- Returns:
-
getProcessEngine
protected org.camunda.bpm.engine.ProcessEngine getProcessEngine()
Deprecated.Return aProcessEnginefor the current engine name to execute queries against the engine.- Returns:
- the process engine
-
-