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
).
pluginRegistry, processEngineProvider, resourceOverrides
Constructor and Description |
---|
DefaultCockpitRuntimeDelegate() |
Modifier and Type | Method and Description |
---|---|
protected CommandExecutor |
createCommandExecutor(String processEngineName)
Create command executor for the engine with the given name
|
CommandExecutor |
getCommandExecutor(String processEngineName)
Returns a configured
CommandExecutor to execute
commands to the corresponding process engine. |
protected List<String> |
getMappingFiles()
Returns the list of mapping files that should be used to create the
session factory for this runtime.
|
PluginRegistry |
getPluginRegistry()
Deprecated.
|
QueryService |
getQueryService(String processEngineName)
Returns a configured
QueryService to execute custom
statements to the corresponding process engine. |
getAppPluginRegistry, getDefaultProcessEngine, getProcessEngine, getProcessEngineNames, getResourceOverrides, initResourceOverrides, loadProcessEngineProvider
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAppPluginRegistry, getDefaultProcessEngine, getProcessEngine, getProcessEngineNames, getResourceOverrides
public QueryService getQueryService(String processEngineName)
CockpitRuntimeDelegate
QueryService
to execute custom
statements to the corresponding process engine.getQueryService
in interface CockpitRuntimeDelegate
QueryService
public CommandExecutor getCommandExecutor(String processEngineName)
CockpitRuntimeDelegate
CommandExecutor
to execute
commands to the corresponding process engine.getCommandExecutor
in interface CockpitRuntimeDelegate
CommandExecutor
@Deprecated public PluginRegistry getPluginRegistry()
AbstractAppRuntimeDelegate.getAppPluginRegistry()
getPluginRegistry
in interface CockpitRuntimeDelegate
protected List<String> getMappingFiles()
protected CommandExecutor createCommandExecutor(String processEngineName)
processEngineName
- Copyright © 2015. All rights reserved.