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(de.iip_ecosphere.platform.support.setup.PluginsSetup setup)
      Helper function to load all plugins from PluginsSetup.getPluginsFolder() applying getConnectorAndServicePluginFilter().
      Parameters:
      setup - the setup
    • loadPlatformPlugins

      static void loadPlatformPlugins(String pluginsFolder)
      Helper function to load all plugins from pluginsFolder applying getConnectorAndServicePluginFilter().
      Parameters:
      setup - the setup