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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CommandExecutorcreateCommandExecutor(String processEngineName) Create command executor for the engine with the given namegetCommandExecutor(String processEngineName) Returns a configuredCommandExecutorto 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 configuredQueryServiceto execute custom statements to the corresponding process engine.Methods inherited from class org.camunda.bpm.webapp.impl.AbstractAppRuntimeDelegate
getAppPluginRegistry, getDefaultProcessEngine, getProcessEngine, getProcessEngineNames, getResourceOverrides, initResourceOverrides, loadProcessEngineProviderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:CockpitRuntimeDelegateReturns a configuredQueryServiceto execute custom statements to the corresponding process engine.- Specified by:
getQueryServicein interfaceCockpitRuntimeDelegate- Returns:
- a
QueryService
-
getCommandExecutor
Description copied from interface:CockpitRuntimeDelegateReturns a configuredCommandExecutorto execute commands to the corresponding process engine.- Specified by:
getCommandExecutorin interfaceCockpitRuntimeDelegate- Returns:
- a
CommandExecutor
-
getPluginRegistry
Deprecated.Deprecated: useAbstractAppRuntimeDelegate.getAppPluginRegistry()- Specified by:
getPluginRegistryin 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:
-