S
- Type of Service@ProviderType public interface ComponentInstance<S>
ComponentInstances are never reused. A new ComponentInstance object will be created when the component configuration is activated again.
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose of the component configuration for this component instance.
|
S |
getInstance()
Returns the component instance of the activated component configuration.
|
void dispose()
S getInstance()
null
if the component
configuration has been deactivated.Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0