Class ConfigMetadata

java.lang.Object
org.jvnet.hk2.config.ConfigMetadata

public class ConfigMetadata extends Object
Constant names used in the metadata for configurable inhabitants.
Author:
Kohsuke Kawaguchi
  • Field Details

    • TARGET

      public static final String TARGET
      Fully qualified name of the target class that an injector works with.
      See Also:
    • TARGET_CONTRACTS

      public static final String TARGET_CONTRACTS
      Contracts that the target type implements.
      See Also:
    • TARGET_HABITATS

      public static final String TARGET_HABITATS
      Target habitats in which this service should reside.
      See Also:
    • KEYED_AS

      public static final String KEYED_AS
      If the target type is keyed, the FQCN that defines the key field. This type is always assignable from the target type. This allows a symbol space to be defined on a base class B, and different subtypes can participate.
      See Also:
    • KEY

      public static final String KEY
      The name of the property used as a key for exposing inhabitants, as well as resolving references.

      This is either "@attr" or "<element>" indicating where the key is read.

      See Also:
  • Constructor Details

    • ConfigMetadata

      public ConfigMetadata()