org.jvnet.hk2.config
Class ConfigMetadata

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

public class ConfigMetadata
extends Object

Constant names used in the metadata for configurable inhabitants.

Author:
Kohsuke Kawaguchi

Field Summary
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 the target 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.
 
Constructor Summary
ConfigMetadata()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

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:
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
Constructor Detail

ConfigMetadata

public ConfigMetadata()


Copyright © 2013 Oracle Corporation. All Rights Reserved.