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
Fields Modifier and Type Field Description protected AppPluginRegistry<T>pluginRegistryprotected ProcessEngineProviderprocessEngineProviderprotected List<PluginResourceOverride>resourceOverrides 
- 
Constructor Summary
Constructors Constructor Description AbstractAppRuntimeDelegate(Class<T> pluginType) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppPluginRegistry<T>getAppPluginRegistry()A registry that provides access to the plugins registered in the application.ProcessEnginegetDefaultProcessEngine()Returns the defaultProcessEngineprovided by theProcessEnginegetProcessEngine(String processEngineName)Returns aProcessEngineto the assignedprocessEngineNameSet<String>getProcessEngineNames()Returns the list ofProcessEnginenames available to the runtimeList<PluginResourceOverride>getResourceOverrides()A list of resource overrides.protected voidinitResourceOverrides()protected ProcessEngineProviderloadProcessEngineProvider()Load theProcessEngineProviderspi implementation. 
 - 
 
- 
- 
Field Detail
- 
pluginRegistry
protected final AppPluginRegistry<T extends AppPlugin> pluginRegistry
 
- 
processEngineProvider
protected final ProcessEngineProvider processEngineProvider
 
- 
resourceOverrides
protected List<PluginResourceOverride> resourceOverrides
 
 - 
 
- 
Method Detail
- 
getProcessEngine
public ProcessEngine getProcessEngine(String processEngineName)
Description copied from interface:AppRuntimeDelegateReturns aProcessEngineto the assignedprocessEngineName- Specified by:
 getProcessEnginein interfaceAppRuntimeDelegate<T extends AppPlugin>- Returns:
 - a 
ProcessEngine 
 
- 
getProcessEngineNames
public Set<String> getProcessEngineNames()
Description copied from interface:AppRuntimeDelegateReturns the list ofProcessEnginenames available to the runtime- Specified by:
 getProcessEngineNamesin interfaceAppRuntimeDelegate<T extends AppPlugin>- Returns:
 
 
- 
getDefaultProcessEngine
public ProcessEngine getDefaultProcessEngine()
Description copied from interface:AppRuntimeDelegateReturns the defaultProcessEngineprovided by the- Specified by:
 getDefaultProcessEnginein interfaceAppRuntimeDelegate<T extends AppPlugin>- Returns:
 
 
- 
getAppPluginRegistry
public AppPluginRegistry<T> getAppPluginRegistry()
Description copied from interface:AppRuntimeDelegateA registry that provides access to the plugins registered in the application.- Specified by:
 getAppPluginRegistryin interfaceAppRuntimeDelegate<T extends AppPlugin>- Returns:
 
 
- 
loadProcessEngineProvider
protected ProcessEngineProvider loadProcessEngineProvider()
Load theProcessEngineProviderspi implementation.- Returns:
 
 
- 
getResourceOverrides
public List<PluginResourceOverride> getResourceOverrides()
Description copied from interface:AppRuntimeDelegateA list of resource overrides.- Specified by:
 getResourceOverridesin interfaceAppRuntimeDelegate<T extends AppPlugin>- Returns:
 - the list of registered resource overrides
 
 
- 
initResourceOverrides
protected void initResourceOverrides()
 
 - 
 
 -