Package aQute.bnd.osgi
Interface PluginsContainer.PluginProvider
- All Known Implementing Classes:
PluginsContainer.AbstractPlugin
- Enclosing class:
- PluginsContainer
@ProviderType
public static interface PluginsContainer.PluginProvider
A Plugin Provider provides plugins when accessed with a type selector.
The provided plugins are not part of the container's plugin set.
-
Method Summary
-
Method Details
-
provide
Provide the plugins for the given type if the type is equal.- Type Parameters:
X
- the requested type- Parameters:
type
- the class of the provider type, never null- Returns:
- a stream supplying the provided plugins, can be empty
-