public interface ScrService
ScrServicerepresents the Declarative Services main controller also known as the Service Component Runtime or SCR for short. It provides access to the components managed the SCR.
|Modifier and Type||Method and Description|
Returns the component whose component.id matches the given
Returns an array of all components managed by this SCR instance.
Reuturns an array of all components managed by this SCR instance on behalf of the given bundle.
nullif there are none.
Component getComponent(long componentId)
nullif no component with the given id is currently managed.
componentId- The ID of the component to return
nullif no such component exists.
Component getComponents(org.osgi.framework.Bundle bundle)
Bundlewhose components are to be returned.
nullif the bundle has none.
Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.