Package org.osgi.resource
Class Namespace
java.lang.Object
org.osgi.resource.Namespace
- Direct Known Subclasses:
AbstractWiringNamespace
,ExecutionEnvironmentNamespace
,IdentityNamespace
,NativeNamespace
Capability and Requirement Namespaces base class.
This class is the common class shared by all OSGi defined namespaces. It defines the names for the common attributes and directives for the OSGi specified namespaces.
The OSGi Alliance reserves the right to extend the set of directives and attributes which have specified semantics for all of the specified namespaces.
The values associated with these keys are of type String
, unless
otherwise indicated.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The capability directive used to specify the effective time for the capability.static final String
The capability directive used to specify the comma separated list of package names used by a capability.static final String
The directive value identifying a multiplecardinality
type.static final String
The directive value identifying acardinality
type of single.static final String
The directive value identifying acapability
orrequirement
that is effective at active time.static final String
The directive value identifying acapability
orrequirement
that is effective at resolve time.static final String
The requirement directive used to specify the cardinality for a requirement.static final String
The requirement directive used to specify the effective time for the requirement.static final String
The requirement directive used to specify a capability filter.static final String
The requirement directive used to specify the resolution type for a requirement.static final String
The directive value identifying a mandatory requirement resolution type.static final String
The directive value identifying an optional requirement resolution type. -
Constructor Summary
ModifierConstructorDescriptionprotected
Protected constructor for Namespace sub-types. -
Method Summary
-
Field Details
-
CAPABILITY_USES_DIRECTIVE
The capability directive used to specify the comma separated list of package names used by a capability.- See Also:
-
CAPABILITY_EFFECTIVE_DIRECTIVE
The capability directive used to specify the effective time for the capability. The default value isresolve
.- See Also:
-
REQUIREMENT_FILTER_DIRECTIVE
The requirement directive used to specify a capability filter. This filter is used to match against a capability's attributes.- See Also:
-
REQUIREMENT_RESOLUTION_DIRECTIVE
The requirement directive used to specify the resolution type for a requirement. The default value ismandatory
.- See Also:
-
RESOLUTION_MANDATORY
The directive value identifying a mandatory requirement resolution type. A mandatory resolution type indicates that the requirement must be resolved when the resource is resolved. If such a requirement cannot be resolved, the resource fails to resolve. -
RESOLUTION_OPTIONAL
The directive value identifying an optional requirement resolution type. An optional resolution type indicates that the requirement is optional and the resource may be resolved without the requirement being resolved. -
REQUIREMENT_EFFECTIVE_DIRECTIVE
The requirement directive used to specify the effective time for the requirement. The default value isresolve
.- See Also:
-
EFFECTIVE_RESOLVE
The directive value identifying acapability
orrequirement
that is effective at resolve time. Capabilities and requirements with an effective time of resolve are the only capabilities which are processed while resolving a resource. -
EFFECTIVE_ACTIVE
The directive value identifying acapability
orrequirement
that is effective at active time. Capabilities and requirements with an effective time of active are ignored while resolving a resource. -
REQUIREMENT_CARDINALITY_DIRECTIVE
The requirement directive used to specify the cardinality for a requirement. The default value issingle
.- See Also:
-
CARDINALITY_MULTIPLE
The directive value identifying a multiplecardinality
type. -
CARDINALITY_SINGLE
The directive value identifying acardinality
type of single.
-
-
Constructor Details
-
Namespace
protected Namespace()Protected constructor for Namespace sub-types.
-