|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScrService
The ScrService represents 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.
| 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(Bundle bundle)
Returns an array of all components managed by this SCR instance on behalf of the given bundle. |
| Method Detail |
|---|
Component[] getComponents()
null
is returned.
null if there are none.Component getComponent(long componentId)
componentId or null if no component with the
given id is currently managed.
componentId - The ID of the component to return
null if no such
component exists.Component[] getComponents(Bundle bundle)
null is returned.
bundle - The Bundle whose components are to be
returned.
null if the bundle
has none.
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.