Package aQute.bnd.osgi
Class PluginsContainer.AbstractPlugin<T>
java.lang.Object
aQute.bnd.osgi.PluginsContainer.AbstractPlugin<T>
- All Implemented Interfaces:
PluginsContainer.PluginProvider
,AutoCloseable
- Enclosing class:
- PluginsContainer
final class PluginsContainer.AbstractPlugin<T>
extends Object
implements PluginsContainer.PluginProvider, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serviceClass
-
externals
-
attrs
-
workspace
-
-
Constructor Details
-
AbstractPlugin
-
-
Method Details
-
provide
Description copied from interface:PluginsContainer.PluginProvider
Provide the plugins for the given type if the type is equal.- Specified by:
provide
in interfacePluginsContainer.PluginProvider
- 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
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
toString
-