Package org.jvnet.hk2.config
Class ConfigMetadata
java.lang.Object
org.jvnet.hk2.config.ConfigMetadata
Constant names used in the metadata for configurable inhabitants.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the property used as a key for exposing inhabitants, as well as resolving references.static final StringIf thetarget typeis keyed, the FQCN that defines the key field.static final StringFully qualified name of the target class that an injector works with.static final StringContracts that the target type implements.static final StringTarget habitats in which this service should reside. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TARGET
Fully qualified name of the target class that an injector works with.- See Also:
-
TARGET_CONTRACTS
Contracts that the target type implements.- See Also:
-
TARGET_HABITATS
Target habitats in which this service should reside.- See Also:
-
KEYED_AS
If thetarget typeis 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
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()
-