Package org.jvnet.hk2.config
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 Summary
Fields Modifier and Type Field Description static String
KEY
The name of the property used as a key for exposing inhabitants, as well as resolving references.static String
KEYED_AS
If thetarget type
is keyed, the FQCN that defines the key field.static String
TARGET
Fully qualified name of the target class that an injector works with.static String
TARGET_CONTRACTS
Contracts that the target type implements.static String
TARGET_HABITATS
Target habitats in which this service should reside.
-
Constructor Summary
Constructors Constructor Description ConfigMetadata()
-
-
-
Field Detail
-
TARGET
public static final String TARGET
Fully qualified name of the target class that an injector works with.- See Also:
- Constant Field Values
-
TARGET_CONTRACTS
public static final String TARGET_CONTRACTS
Contracts that the target type implements.- See Also:
- Constant Field Values
-
TARGET_HABITATS
public static final String TARGET_HABITATS
Target habitats in which this service should reside.- See Also:
- Constant Field Values
-
KEYED_AS
public static final String KEYED_AS
If thetarget 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:
- Constant Field Values
-
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:
Attribute.key()
,Element.key()
, Constant Field Values
-
-