Package org.camunda.bpm.webapp.impl
Class AbstractAppRuntimeDelegate<T extends AppPlugin>
java.lang.Object
org.camunda.bpm.webapp.impl.AbstractAppRuntimeDelegate<T>
- All Implemented Interfaces:
AppRuntimeDelegate<T>
- Direct Known Subclasses:
DefaultAdminRuntimeDelegate
,DefaultCockpitRuntimeDelegate
,DefaultTasklistRuntimeDelegate
,DefaultWelcomeRuntimeDelegate
public abstract class AbstractAppRuntimeDelegate<T extends AppPlugin>
extends Object
implements AppRuntimeDelegate<T>
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AppPluginRegistry<T>
protected final ProcessEngineProvider
protected List<PluginResourceOverride>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA registry that provides access to the plugins registered in the application.Returns the defaultProcessEngine
provided by thegetProcessEngine
(String processEngineName) Returns aProcessEngine
to the assignedprocessEngineName
Returns the list ofProcessEngine
names available to the runtimeA list of resource overrides.protected void
protected ProcessEngineProvider
Load theProcessEngineProvider
spi implementation.
-
Field Details
-
pluginRegistry
-
processEngineProvider
-
resourceOverrides
-
-
Constructor Details
-
AbstractAppRuntimeDelegate
-
-
Method Details
-
getProcessEngine
Description copied from interface:AppRuntimeDelegate
Returns aProcessEngine
to the assignedprocessEngineName
- Specified by:
getProcessEngine
in interfaceAppRuntimeDelegate<T extends AppPlugin>
- Returns:
- a
ProcessEngine
-
getProcessEngineNames
Description copied from interface:AppRuntimeDelegate
Returns the list ofProcessEngine
names available to the runtime- Specified by:
getProcessEngineNames
in interfaceAppRuntimeDelegate<T extends AppPlugin>
- Returns:
-
getDefaultProcessEngine
Description copied from interface:AppRuntimeDelegate
Returns the defaultProcessEngine
provided by the- Specified by:
getDefaultProcessEngine
in interfaceAppRuntimeDelegate<T extends AppPlugin>
- Returns:
-
getAppPluginRegistry
Description copied from interface:AppRuntimeDelegate
A registry that provides access to the plugins registered in the application.- Specified by:
getAppPluginRegistry
in interfaceAppRuntimeDelegate<T extends AppPlugin>
- Returns:
-
loadProcessEngineProvider
Load theProcessEngineProvider
spi implementation.- Returns:
-
getResourceOverrides
Description copied from interface:AppRuntimeDelegate
A list of resource overrides.- Specified by:
getResourceOverrides
in interfaceAppRuntimeDelegate<T extends AppPlugin>
- Returns:
- the list of registered resource overrides
-
initResourceOverrides
protected void initResourceOverrides()
-