public abstract class AbstractAppRuntimeDelegate<T extends AppPlugin> extends Object implements AppRuntimeDelegate<T>
Modifier and Type | Field and Description |
---|---|
protected AppPluginRegistry<T> |
pluginRegistry |
protected ProcessEngineProvider |
processEngineProvider |
protected List<PluginResourceOverride> |
resourceOverrides |
Constructor and Description |
---|
AbstractAppRuntimeDelegate(Class<T> pluginType) |
Modifier and Type | Method and Description |
---|---|
AppPluginRegistry<T> |
getAppPluginRegistry()
A registry that provides access to the plugins registered
in the application.
|
ProcessEngine |
getDefaultProcessEngine()
Returns the default
ProcessEngine provided by the |
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 ProcessEngineProvider |
loadProcessEngineProvider()
Load the
ProcessEngineProvider spi implementation. |
protected final AppPluginRegistry<T extends AppPlugin> pluginRegistry
protected final ProcessEngineProvider processEngineProvider
protected List<PluginResourceOverride> resourceOverrides
public ProcessEngine getProcessEngine(String processEngineName)
AppRuntimeDelegate
ProcessEngine
to the assigned
processEngineName
getProcessEngine
in interface AppRuntimeDelegate<T extends AppPlugin>
ProcessEngine
public Set<String> getProcessEngineNames()
AppRuntimeDelegate
ProcessEngine
names available to the runtimegetProcessEngineNames
in interface AppRuntimeDelegate<T extends AppPlugin>
public ProcessEngine getDefaultProcessEngine()
AppRuntimeDelegate
ProcessEngine
provided by thegetDefaultProcessEngine
in interface AppRuntimeDelegate<T extends AppPlugin>
public AppPluginRegistry<T> getAppPluginRegistry()
AppRuntimeDelegate
getAppPluginRegistry
in interface AppRuntimeDelegate<T extends AppPlugin>
protected ProcessEngineProvider loadProcessEngineProvider()
ProcessEngineProvider
spi implementation.public List<PluginResourceOverride> getResourceOverrides()
AppRuntimeDelegate
getResourceOverrides
in interface AppRuntimeDelegate<T extends AppPlugin>
protected void initResourceOverrides()
Copyright © 2019. All rights reserved.