|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.scr.impl.ComponentRegistry
public class ComponentRegistry
The ComponentRegistry
TODO
Method Summary | |
---|---|
Component |
getComponent(long componentId)
Returns the component whose component.id matches the given componentId or null if no component with the
given id is currently managed. |
Component[] |
getComponents()
Returns an array of all components managed by this SCR instance. |
Component[] |
getComponents(org.osgi.framework.Bundle bundle)
Reuturns an array of all components managed by this SCR instance on behalf of the given bundle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Component[] getComponents()
ScrService
null
is returned.
getComponents
in interface ScrService
null
if there are none.public Component[] getComponents(org.osgi.framework.Bundle bundle)
ScrService
null
is returned.
getComponents
in interface ScrService
bundle
- The Bundle
whose components are to be
returned.
null
if the bundle
has none.public Component getComponent(long componentId)
ScrService
componentId
or null
if no component with the
given id is currently managed.
getComponent
in interface ScrService
componentId
- The ID of the component to return
null
if no such
component exists.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |