Package aQute.bnd.service.externalplugin
Interface ExternalPluginNamespace
-
public interface ExternalPluginNamespace
External Plugins are executable code that the Workspace can execute. An external plugin must define a Capability in theExternalPluginNamespace
. 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 annotationExternalPlugin
that can be applied to a plugin.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CAPABILITY_IMPLEMENTATION_ATTRIBUTE
The implementation classstatic java.lang.String
CAPABILITY_NAME_ATTRIBUTE
The name of the external pluginstatic java.lang.String
CAPABILITY_OBJECTCLASS_ATTRIBUTE
The type of the interface under which it will be usedstatic java.lang.String
EXTERNAL_PLUGIN_NAMESPACE
Namespace name for external plugin capabilities and requirements.static java.lang.String
IMPLEMENTATION_A
static java.lang.String
NAME
static java.lang.String
NAME_A
static java.lang.String
OBJECTCLASS_A
-
Method Summary
Static Methods Modifier and Type Method Description static java.lang.String
filter(java.lang.String name, java.lang.Class<?> type)
static java.lang.String
getImplementation(org.osgi.resource.Capability c)
-
-
-
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
-
NAME
static final java.lang.String NAME
- See Also:
- Constant Field Values
-
NAME_A
static final java.lang.String NAME_A
- See Also:
- Constant Field Values
-
IMPLEMENTATION_A
static final java.lang.String IMPLEMENTATION_A
- See Also:
- Constant Field Values
-
OBJECTCLASS_A
static final java.lang.String OBJECTCLASS_A
- See Also:
- Constant Field Values
-
-