Package org.camunda.bpm.cockpit.impl
Class DefaultCockpitRuntimeDelegate
java.lang.Object
org.camunda.bpm.webapp.impl.AbstractAppRuntimeDelegate<CockpitPlugin>
org.camunda.bpm.cockpit.impl.DefaultCockpitRuntimeDelegate
- All Implemented Interfaces:
CockpitRuntimeDelegate
,AppRuntimeDelegate<CockpitPlugin>
public class DefaultCockpitRuntimeDelegate
extends AbstractAppRuntimeDelegate<CockpitPlugin>
implements CockpitRuntimeDelegate
This is the default CockpitRuntimeDelegate
implementation that provides
the camunda cockpit plugin services (i.e. QueryService
and
CommandExecutor
).
- Author:
- roman.smirnov, nico.rehwaldt
-
Field Summary
Fields inherited from class org.camunda.bpm.webapp.impl.AbstractAppRuntimeDelegate
pluginRegistry, processEngineProvider, resourceOverrides
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CommandExecutor
createCommandExecutor
(String processEngineName) Create command executor for the engine with the given namegetCommandExecutor
(String processEngineName) Returns a configuredCommandExecutor
to execute commands to the corresponding process engine.Returns the list of mapping files that should be used to create the session factory for this runtime.Deprecated.getQueryService
(String processEngineName) Returns a configuredQueryService
to execute custom statements to the corresponding process engine.Methods inherited from class org.camunda.bpm.webapp.impl.AbstractAppRuntimeDelegate
getAppPluginRegistry, getDefaultProcessEngine, getProcessEngine, getProcessEngineNames, getResourceOverrides, initResourceOverrides, loadProcessEngineProvider
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.bpm.webapp.AppRuntimeDelegate
getAppPluginRegistry, getDefaultProcessEngine, getProcessEngine, getProcessEngineNames, getResourceOverrides
-
Constructor Details
-
DefaultCockpitRuntimeDelegate
public DefaultCockpitRuntimeDelegate()
-
-
Method Details
-
getQueryService
Description copied from interface:CockpitRuntimeDelegate
Returns a configuredQueryService
to execute custom statements to the corresponding process engine.- Specified by:
getQueryService
in interfaceCockpitRuntimeDelegate
- Returns:
- a
QueryService
-
getCommandExecutor
Description copied from interface:CockpitRuntimeDelegate
Returns a configuredCommandExecutor
to execute commands to the corresponding process engine.- Specified by:
getCommandExecutor
in interfaceCockpitRuntimeDelegate
- Returns:
- a
CommandExecutor
-
getPluginRegistry
Deprecated.Deprecated: useAbstractAppRuntimeDelegate.getAppPluginRegistry()
- Specified by:
getPluginRegistry
in interfaceCockpitRuntimeDelegate
- Returns:
-
getMappingFiles
Returns the list of mapping files that should be used to create the session factory for this runtime.- Returns:
-
createCommandExecutor
Create command executor for the engine with the given name- Parameters:
processEngineName
-- Returns:
-