Interface ExternalPluginNamespace


  • public interface ExternalPluginNamespace
    External Plugins are executable code that the Workspace can execute. An external plugin must define a Capability in the ExternalPluginNamespace. This namespace defines the attributes:
     bnd.external.plugin    name of the plugin
     objectClass            the service type of the plugin
     implementation         the implementation class
     
    There is an annotation ExternalPlugin that can be applied to a plugin.
    • Field Detail

      • EXTERNAL_PLUGIN_NAMESPACE

        static final java.lang.String EXTERNAL_PLUGIN_NAMESPACE
        Namespace name for external plugin capabilities and requirements.
        See Also:
        Constant Field Values
      • CAPABILITY_NAME_ATTRIBUTE

        static final java.lang.String CAPABILITY_NAME_ATTRIBUTE
        The name of the external plugin
        See Also:
        Constant Field Values
      • CAPABILITY_OBJECTCLASS_ATTRIBUTE

        static final java.lang.String CAPABILITY_OBJECTCLASS_ATTRIBUTE
        The type of the interface under which it will be used
        See Also:
        Constant Field Values
      • CAPABILITY_IMPLEMENTATION_ATTRIBUTE

        static final java.lang.String CAPABILITY_IMPLEMENTATION_ATTRIBUTE
        The implementation class
        See Also:
        Constant Field Values
    • Method Detail

      • filter

        static java.lang.String filter​(java.lang.String name,
                                       java.lang.Class<?> type)
      • getImplementation

        static java.lang.String getImplementation​(org.osgi.resource.Capability c)