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
CockpitRuntimeDelegateimplementation that provides the camunda cockpit plugin services (i.e.QueryServiceandCommandExecutor).- Author:
- roman.smirnov, nico.rehwaldt
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.webapp.impl.AbstractAppRuntimeDelegate
pluginRegistry, processEngineProvider, resourceOverrides
-
-
Constructor Summary
Constructors Constructor Description DefaultCockpitRuntimeDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected CommandExecutorcreateCommandExecutor(java.lang.String processEngineName)Create command executor for the engine with the given nameCommandExecutorgetCommandExecutor(java.lang.String processEngineName)Returns a configuredCommandExecutorto execute commands to the corresponding process engine.protected java.util.List<java.lang.String>getMappingFiles()Returns the list of mapping files that should be used to create the session factory for this runtime.PluginRegistrygetPluginRegistry()Deprecated.QueryServicegetQueryService(java.lang.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, 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
-
-
-
-
Method Detail
-
getQueryService
public QueryService getQueryService(java.lang.String processEngineName)
Description copied from interface:CockpitRuntimeDelegateReturns a configuredQueryServiceto execute custom statements to the corresponding process engine.- Specified by:
getQueryServicein interfaceCockpitRuntimeDelegate- Returns:
- a
QueryService
-
getCommandExecutor
public CommandExecutor getCommandExecutor(java.lang.String processEngineName)
Description copied from interface:CockpitRuntimeDelegateReturns a configuredCommandExecutorto execute commands to the corresponding process engine.- Specified by:
getCommandExecutorin interfaceCockpitRuntimeDelegate- Returns:
- a
CommandExecutor
-
getPluginRegistry
@Deprecated public PluginRegistry getPluginRegistry()
Deprecated.Deprecated: useAbstractAppRuntimeDelegate.getAppPluginRegistry()- Specified by:
getPluginRegistryin interfaceCockpitRuntimeDelegate- Returns:
-
getMappingFiles
protected java.util.List<java.lang.String> getMappingFiles()
Returns the list of mapping files that should be used to create the session factory for this runtime.- Returns:
-
createCommandExecutor
protected CommandExecutor createCommandExecutor(java.lang.String processEngineName)
Create command executor for the engine with the given name- Parameters:
processEngineName-- Returns:
-
-