Interface ServicePluginDescriptor<S extends Service>
- Type Parameters:
S- the actual type of service being created
- All Superinterfaces:
de.iip_ecosphere.platform.support.plugins.PluginInstanceDescriptor<ServiceDescriptor<S>>
- All Known Implementing Classes:
AbstractGenericMultiServicePluginDescriptor,AbstractGenericServicePluginDescriptor,AbstractServicePluginDescriptor,AbstractSpecificServicePluginDescriptor
public interface ServicePluginDescriptor<S extends Service>
extends de.iip_ecosphere.platform.support.plugins.PluginInstanceDescriptor<ServiceDescriptor<S>>
Declares the type of a service plugin descriptor.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic de.iip_ecosphere.platform.support.plugins.PluginManager.PluginFilterReturns a plugin filter for platform components that filters out all connector (ConnectorDescriptor.PLUGIN_ID_PREFIX) and service plugins (PLUGIN_ID_PREFIX).static de.iip_ecosphere.platform.support.plugins.PluginManager.PluginFilterReturns a plugin filter for platform components that filters out all service plugins (PLUGIN_ID_PREFIX).static voidHelper function to load all plugins from the plugins directory specified in env/sys propertyAbstractSetup.PARAM_PLUGINSapplyinggetConnectorAndServicePluginFilter().static voidloadPlatformPlugins(String pluginsFolder) Helper function to load all plugins frompluginsFolderapplyinggetConnectorAndServicePluginFilter().Methods inherited from interface de.iip_ecosphere.platform.support.plugins.PluginInstanceDescriptor
create
-
Field Details
-
PLUGIN_ID_PREFIX
- See Also:
-
PLUGIN_TEST_ID_PREFIX
- See Also:
-
-
Method Details
-
getServicePluginFilter
static de.iip_ecosphere.platform.support.plugins.PluginManager.PluginFilter getServicePluginFilter()Returns a plugin filter for platform components that filters out all service plugins (PLUGIN_ID_PREFIX).- Returns:
- the plugin filter
-
getConnectorAndServicePluginFilter
static de.iip_ecosphere.platform.support.plugins.PluginManager.PluginFilter getConnectorAndServicePluginFilter()Returns a plugin filter for platform components that filters out all connector (ConnectorDescriptor.PLUGIN_ID_PREFIX) and service plugins (PLUGIN_ID_PREFIX).- Returns:
- the plugin filter
-
loadPlatformPlugins
static void loadPlatformPlugins()Helper function to load all plugins from the plugins directory specified in env/sys propertyAbstractSetup.PARAM_PLUGINSapplyinggetConnectorAndServicePluginFilter(). -
loadPlatformPlugins
Helper function to load all plugins frompluginsFolderapplyinggetConnectorAndServicePluginFilter().- Parameters:
pluginsFolder- the plugins folder, may be null or empty for none
-