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)
AppRuntimeDelegateProcessEngine to the assigned
processEngineNamegetProcessEngine in interface AppRuntimeDelegate<T extends AppPlugin>ProcessEnginepublic Set<String> getProcessEngineNames()
AppRuntimeDelegateProcessEngine names available to the runtimegetProcessEngineNames in interface AppRuntimeDelegate<T extends AppPlugin>public ProcessEngine getDefaultProcessEngine()
AppRuntimeDelegateProcessEngine provided by thegetDefaultProcessEngine in interface AppRuntimeDelegate<T extends AppPlugin>public AppPluginRegistry<T> getAppPluginRegistry()
AppRuntimeDelegategetAppPluginRegistry in interface AppRuntimeDelegate<T extends AppPlugin>protected ProcessEngineProvider loadProcessEngineProvider()
ProcessEngineProvider spi implementation.public List<PluginResourceOverride> getResourceOverrides()
AppRuntimeDelegategetResourceOverrides in interface AppRuntimeDelegate<T extends AppPlugin>protected void initResourceOverrides()
Copyright © 2021. All rights reserved.