Top Description Fields Constructors
org.osgi.namespace.unresolvable

public final Class UnresolvableNamespace

extends Namespace
Class Inheritance
Imports
org.osgi.resource.Namespace

Unresolvable Capability and Requirement Namespace.

This class defines the names for the attributes and directives for this namespace.

This class defines the names for the attributes and directives for this namespace. All unspecified capability attributes are of type String and are used as arbitrary matching attributes for the capability. The values associated with the specified directive and attribute keys are of type String, unless otherwise indicated.

Author
$Id: e3bb65c035a01b6d6f5b558452d74758870d4968 $

Field Summary

Modifier and TypeField and Description
public static final String
UNRESOLVABLE_FILTER

An unresolvable filter expression.

public static final String
UNRESOLVABLE_NAMESPACE

Namespace name for "unresolvable" capabilities and requirements.

Inherited from org.osgi.resource.Namespace:
CAPABILITY_EFFECTIVE_DIRECTIVECAPABILITY_USES_DIRECTIVECARDINALITY_MULTIPLECARDINALITY_SINGLEEFFECTIVE_ACTIVEEFFECTIVE_RESOLVEREQUIREMENT_CARDINALITY_DIRECTIVEREQUIREMENT_EFFECTIVE_DIRECTIVEREQUIREMENT_FILTER_DIRECTIVEREQUIREMENT_RESOLUTION_DIRECTIVERESOLUTION_MANDATORYRESOLUTION_OPTIONAL

Constructor Summary

AccessConstructor and Description
private

Field Detail

UNRESOLVABLE_FILTERback to summary
public static final String UNRESOLVABLE_FILTER

An unresolvable filter expression.

This can be used as the filter expression for an UnresolvableNamespace requirement.

@Requirement(namespace = UnresolvableNamespace.UNRESOLVABLE_NAMESPACE,
             filter = UnresolvableNamespace.UNRESOLVABLE_FILTER)
UNRESOLVABLE_NAMESPACEback to summary
public static final String UNRESOLVABLE_NAMESPACE

Namespace name for "unresolvable" capabilities and requirements.

This is typically used as follows to prevent a bundle from being resolvable.

Require-Capability: osgi.unresolvable;
  filter:="(&(must.not.resolve=*)(!(must.not.resolve=*)))"

Constructor Detail

UnresolvableNamespaceback to summary
private UnresolvableNamespace()