org.camunda.bpm.webapp.impl
Class AbstractAppRuntimeDelegate<T extends AppPlugin>

java.lang.Object
  extended by 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
protected  AppPluginRegistry<T> pluginRegistry
           
protected  org.camunda.bpm.engine.rest.spi.ProcessEngineProvider processEngineProvider
           
protected  List<PluginResourceOverride> resourceOverrides
           
 
Constructor Summary
AbstractAppRuntimeDelegate(Class<T> pluginType)
           
 
Method Summary
 AppPluginRegistry<T> getAppPluginRegistry()
          A registry that provides access to the plugins registered in the application.
 org.camunda.bpm.engine.ProcessEngine getDefaultProcessEngine()
          Returns the default ProcessEngine provided by the
 org.camunda.bpm.engine.ProcessEngine getProcessEngine(String processEngineName)
          Returns a ProcessEngine to the assigned processEngineName
 Set<String> getProcessEngineNames()
          Returns the list of ProcessEngine names available to the runtime
 List<PluginResourceOverride> getResourceOverrides()
          A list of resource overrides.
protected  void initResourceOverrides()
           
protected  org.camunda.bpm.engine.rest.spi.ProcessEngineProvider loadProcessEngineProvider()
          Load the ProcessEngineProvider spi implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pluginRegistry

protected final AppPluginRegistry<T extends AppPlugin> pluginRegistry

processEngineProvider

protected final org.camunda.bpm.engine.rest.spi.ProcessEngineProvider processEngineProvider

resourceOverrides

protected List<PluginResourceOverride> resourceOverrides
Constructor Detail

AbstractAppRuntimeDelegate

public AbstractAppRuntimeDelegate(Class<T> pluginType)
Method Detail

getProcessEngine

public org.camunda.bpm.engine.ProcessEngine getProcessEngine(String processEngineName)
Description copied from interface: AppRuntimeDelegate
Returns a ProcessEngine to the assigned processEngineName

Specified by:
getProcessEngine in interface AppRuntimeDelegate<T extends AppPlugin>
Returns:
a ProcessEngine

getProcessEngineNames

public Set<String> getProcessEngineNames()
Description copied from interface: AppRuntimeDelegate
Returns the list of ProcessEngine names available to the runtime

Specified by:
getProcessEngineNames in interface AppRuntimeDelegate<T extends AppPlugin>
Returns:

getDefaultProcessEngine

public org.camunda.bpm.engine.ProcessEngine getDefaultProcessEngine()
Description copied from interface: AppRuntimeDelegate
Returns the default ProcessEngine provided by the

Specified by:
getDefaultProcessEngine in interface AppRuntimeDelegate<T extends AppPlugin>
Returns:

getAppPluginRegistry

public AppPluginRegistry<T> getAppPluginRegistry()
Description copied from interface: AppRuntimeDelegate
A registry that provides access to the plugins registered in the application.

Specified by:
getAppPluginRegistry in interface AppRuntimeDelegate<T extends AppPlugin>
Returns:

loadProcessEngineProvider

protected org.camunda.bpm.engine.rest.spi.ProcessEngineProvider loadProcessEngineProvider()
Load the ProcessEngineProvider spi implementation.

Returns:

getResourceOverrides

public List<PluginResourceOverride> getResourceOverrides()
Description copied from interface: AppRuntimeDelegate
A list of resource overrides.

Specified by:
getResourceOverrides in interface AppRuntimeDelegate<T extends AppPlugin>
Returns:
the list of registered resource overrides

initResourceOverrides

protected void initResourceOverrides()


Copyright © 2018 camunda services GmbH. All rights reserved.