public abstract class Namespace extends Object
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.
Modifier and Type | Field and Description |
---|---|
static String |
CAPABILITY_EFFECTIVE_DIRECTIVE
The capability directive used to specify the effective time for the
capability.
|
static String |
CAPABILITY_USES_DIRECTIVE
The capability directive used to specify the comma separated list of
package names used by a capability.
|
static String |
CARDINALITY_MULTIPLE
The directive value identifying a multiple
cardinality type. |
static String |
CARDINALITY_SINGLE
The directive value identifying a
cardinality type of single. |
static String |
EFFECTIVE_ACTIVE
The directive value identifying a
capability or requirement that
is effective at active time. |
static String |
EFFECTIVE_RESOLVE
The directive value identifying a
capability or requirement that
is effective at resolve time. |
static String |
REQUIREMENT_CARDINALITY_DIRECTIVE
The requirement directive used to specify the cardinality for a
requirement.
|
static String |
REQUIREMENT_EFFECTIVE_DIRECTIVE
The requirement directive used to specify the effective time for the
requirement.
|
static String |
REQUIREMENT_FILTER_DIRECTIVE
The requirement directive used to specify a capability filter.
|
static String |
REQUIREMENT_RESOLUTION_DIRECTIVE
The requirement directive used to specify the resolution type for a
requirement.
|
static String |
RESOLUTION_MANDATORY
The directive value identifying a mandatory requirement resolution type.
|
static String |
RESOLUTION_OPTIONAL
The directive value identifying an optional requirement resolution type.
|
Modifier | Constructor and Description |
---|---|
protected |
Namespace()
Protected constructor for Namespace sub-types.
|
public static final String CAPABILITY_USES_DIRECTIVE
public static final String CAPABILITY_EFFECTIVE_DIRECTIVE
resolve
.resolve
,
active
,
Constant Field Valuespublic static final String REQUIREMENT_FILTER_DIRECTIVE
public static final String REQUIREMENT_RESOLUTION_DIRECTIVE
mandatory
.mandatory
,
optional
,
Constant Field Valuespublic static final String RESOLUTION_MANDATORY
public static final String RESOLUTION_OPTIONAL
public static final String REQUIREMENT_EFFECTIVE_DIRECTIVE
resolve
.resolve
,
active
,
Constant Field Valuespublic static final String EFFECTIVE_RESOLVE
capability
or requirement
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.public static final String EFFECTIVE_ACTIVE
capability
or requirement
that
is effective at active time. Capabilities and requirements with an
effective time of active are ignored while resolving a resource.public static final String REQUIREMENT_CARDINALITY_DIRECTIVE
single
.multiple
,
single
,
Constant Field Valuespublic static final String CARDINALITY_MULTIPLE
cardinality
type.public static final String CARDINALITY_SINGLE
cardinality
type of single.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.