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 Details

  • 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 property AbstractSetup.PARAM_PLUGINS applying getConnectorAndServicePluginFilter().
    • loadPlatformPlugins

      static void loadPlatformPlugins(String pluginsFolder)
      Helper function to load all plugins from pluginsFolder applying getConnectorAndServicePluginFilter().
      Parameters:
      pluginsFolder - the plugins folder, may be null or empty for none