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.PluginProviderProvide the plugins for the given type if the type is equal.- Specified by:
providein 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:
closein interfaceAutoCloseable- Throws:
Exception
-
toString
-