Top Description Fields Constructors Methods
org.osgi.resource

public abstract Class Namespace

extends Object
Class Inheritance
Known Direct Subclasses
org.osgi.framework.namespace.AbstractWiringNamespace, org.osgi.framework.namespace.ExecutionEnvironmentNamespace, org.osgi.framework.namespace.IdentityNamespace, org.osgi.framework.namespace.NativeNamespace
Annotations
@ConsumerType
Imports
org.osgi.annotation.versioning.ConsumerType

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.

Author
$Id: 95a67250528646012b39e8e5a92775fbb635a8c0 $

Field Summary

Modifier and TypeField and Description
public static final String
CAPABILITY_EFFECTIVE_DIRECTIVE

The capability directive used to specify the effective time for the capability.

public static final String
CAPABILITY_USES_DIRECTIVE

The capability directive used to specify the comma separated list of package names used by a capability.

public static final String
CARDINALITY_MULTIPLE

The directive value identifying a multiple cardinality type.

public static final String
CARDINALITY_SINGLE

The directive value identifying a cardinality type of single.

public static final String
EFFECTIVE_ACTIVE

The directive value identifying a capability or requirement that is effective at active time.

public static final String
EFFECTIVE_RESOLVE

The directive value identifying a capability or requirement that is effective at resolve time.

public static final String
REQUIREMENT_CARDINALITY_DIRECTIVE

The requirement directive used to specify the cardinality for a requirement.

public static final String
REQUIREMENT_EFFECTIVE_DIRECTIVE

The requirement directive used to specify the effective time for the requirement.

public static final String
REQUIREMENT_FILTER_DIRECTIVE

The requirement directive used to specify a capability filter.

public static final String
REQUIREMENT_RESOLUTION_DIRECTIVE

The requirement directive used to specify the resolution type for a requirement.

public static final String
RESOLUTION_MANDATORY

The directive value identifying a mandatory requirement resolution type.

public static final String
RESOLUTION_OPTIONAL

The directive value identifying an optional requirement resolution type.

Constructor Summary

AccessConstructor and Description
protected
Namespace()

Protected constructor for Namespace sub-types.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CAPABILITY_EFFECTIVE_DIRECTIVEback to summary
public static final String CAPABILITY_EFFECTIVE_DIRECTIVE

The capability directive used to specify the effective time for the capability. The default value is resolve.

See Also
resolve, active
CAPABILITY_USES_DIRECTIVEback to summary
public static final String CAPABILITY_USES_DIRECTIVE

The capability directive used to specify the comma separated list of package names used by a capability.

CARDINALITY_MULTIPLEback to summary
public static final String CARDINALITY_MULTIPLE

The directive value identifying a multiple cardinality type.

See Also
REQUIREMENT_CARDINALITY_DIRECTIVE
CARDINALITY_SINGLEback to summary
public static final String CARDINALITY_SINGLE

The directive value identifying a cardinality type of single.

See Also
REQUIREMENT_CARDINALITY_DIRECTIVE
EFFECTIVE_ACTIVEback to summary
public static final String EFFECTIVE_ACTIVE

The directive value identifying a capability or requirement that is effective at active time. Capabilities and requirements with an effective time of active are ignored while resolving a resource.

See Also
REQUIREMENT_EFFECTIVE_DIRECTIVE, CAPABILITY_EFFECTIVE_DIRECTIVE
EFFECTIVE_RESOLVEback to summary
public static final String EFFECTIVE_RESOLVE

The directive value identifying a 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.

See Also
REQUIREMENT_EFFECTIVE_DIRECTIVE, CAPABILITY_EFFECTIVE_DIRECTIVE
REQUIREMENT_CARDINALITY_DIRECTIVEback to summary
public static final String REQUIREMENT_CARDINALITY_DIRECTIVE

The requirement directive used to specify the cardinality for a requirement. The default value is single.

See Also
multiple, single
REQUIREMENT_EFFECTIVE_DIRECTIVEback to summary
public static final String REQUIREMENT_EFFECTIVE_DIRECTIVE

The requirement directive used to specify the effective time for the requirement. The default value is resolve.

See Also
resolve, active
REQUIREMENT_FILTER_DIRECTIVEback to summary
public static final String REQUIREMENT_FILTER_DIRECTIVE

The requirement directive used to specify a capability filter. This filter is used to match against a capability's attributes.

REQUIREMENT_RESOLUTION_DIRECTIVEback to summary
public static final String REQUIREMENT_RESOLUTION_DIRECTIVE

The requirement directive used to specify the resolution type for a requirement. The default value is mandatory .

See Also
mandatory, optional
RESOLUTION_MANDATORYback to summary
public static final String 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.

See Also
REQUIREMENT_RESOLUTION_DIRECTIVE
RESOLUTION_OPTIONALback to summary
public static final String 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.

See Also
REQUIREMENT_RESOLUTION_DIRECTIVE

Constructor Detail

Namespaceback to summary
protected Namespace()

Protected constructor for Namespace sub-types.