|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resource
A resource is the representation of a uniquely identified and typed data. A resources can be wired together via capabilities and requirements.
| Method Summary | |
|---|---|
java.util.List<Capability> |
getCapabilities(java.lang.String namespace)
Returns the capabilities declared by this resource. |
java.util.List<Requirement> |
getRequirements(java.lang.String namespace)
Returns the requirements declared by this bundle resource. |
| Method Detail |
|---|
java.util.List<Capability> getCapabilities(java.lang.String namespace)
namespace - The name space of the declared capabilities to return or
null to return the declared capabilities from all name
spaces.
Capabilitys,
or an empty list if this resource declares no capabilities in the
specified name space.java.util.List<Requirement> getRequirements(java.lang.String namespace)
namespace - The name space of the declared requirements to return or
null to return the declared requirements from all name
spaces.
Requirement
s, or an empty list if this resource declares no requirements in
the specified name space.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||