|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=CLASS)
@Target(value={ANNOTATION_TYPE,TYPE})
public @interface RequireCapability
The Bundle’s Require-Capability header
About
| Required Element Summary | |
|---|---|
String |
filter
A filter expression that is asserted on the Capabilities belonging to the given namespace. |
String |
ns
The capability namespace. |
| Optional Element Summary | |
|---|---|
String |
effective
Specifies the time a Requirement is considered, either 'resolve' (default) or another name. |
Resolution |
resolution
A mandatory Requirement forbids the bundle to resolve when the Requirement is not satisfied; an optional Requirement allows a bundle to resolve even if the Requirement is not satisfied. |
String |
value
|
| Element Detail |
|---|
public abstract String ns
osgi.contract.
public abstract String filter
(&(a=1)(b=2))
matches only a Capability that specifies both attributes at the required
value, not two capabilties that each specify one of the attributes
correctly. A filter is optional, if no filter directive is specified the
Requirement always matches.
public abstract String value
public abstract String effective
public abstract Resolution resolution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||