类 Namespace

  • 直接已知子类:
    AbstractWiringNamespace, ExecutionEnvironmentNamespace, IdentityNamespace, NativeNamespace

    @ConsumerType
    public abstract class Namespace
    extends java.lang.Object
    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.

    作者:
    $Id: 95a67250528646012b39e8e5a92775fbb635a8c0 $
    • 构造器概要

      构造器 
      限定符 构造器 说明
      protected Namespace()
      Protected constructor for Namespace sub-types.
    • 方法概要

      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • CAPABILITY_USES_DIRECTIVE

        public static final java.lang.String CAPABILITY_USES_DIRECTIVE
        The capability directive used to specify the comma separated list of package names used by a capability.
        另请参阅:
        常量字段值
      • CAPABILITY_EFFECTIVE_DIRECTIVE

        public static final java.lang.String CAPABILITY_EFFECTIVE_DIRECTIVE
        The capability directive used to specify the effective time for the capability. The default value is resolve.
        另请参阅:
        resolve, active, 常量字段值
      • REQUIREMENT_FILTER_DIRECTIVE

        public static final java.lang.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_DIRECTIVE

        public static final java.lang.String REQUIREMENT_RESOLUTION_DIRECTIVE
        The requirement directive used to specify the resolution type for a requirement. The default value is mandatory .
        另请参阅:
        mandatory, optional, 常量字段值
      • RESOLUTION_MANDATORY

        public static final java.lang.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.
        另请参阅:
        REQUIREMENT_RESOLUTION_DIRECTIVE, 常量字段值
      • RESOLUTION_OPTIONAL

        public static final java.lang.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.
        另请参阅:
        REQUIREMENT_RESOLUTION_DIRECTIVE, 常量字段值
      • REQUIREMENT_EFFECTIVE_DIRECTIVE

        public static final java.lang.String REQUIREMENT_EFFECTIVE_DIRECTIVE
        The requirement directive used to specify the effective time for the requirement. The default value is resolve.
        另请参阅:
        resolve, active, 常量字段值
      • REQUIREMENT_CARDINALITY_DIRECTIVE

        public static final java.lang.String REQUIREMENT_CARDINALITY_DIRECTIVE
        The requirement directive used to specify the cardinality for a requirement. The default value is single.
        另请参阅:
        multiple, single, 常量字段值
    • 构造器详细资料

      • Namespace

        protected Namespace()
        Protected constructor for Namespace sub-types.