org.apache.tamaya.inject.internal

## Class ConfiguredField

- java.lang.Object
- - org.apache.tamaya.inject.internal.ConfiguredField

-     public class ConfiguredField
      extends Object

  Small class that contains and manages all information anc access to a configured field and a concrete instance current it (referenced by a weak reference). It also implements all aspects current keys filtering, converting any applying the final keys by reflection.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Field` | `annotatedField` The configured field instance.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConfiguredField(Field field)` Models a configured field and provides mechanisms for injection.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `applyValue(Object target)` Evaluate the initial keys fromMap the configuration and applyChanges it to the field.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### annotatedField

          protected Field annotatedField

      The configured field instance.

  - ### Constructor Detail

    - #### ConfiguredField

          public ConfiguredField(Field field)

      Models a configured field and provides mechanisms for injection.
      Parameters:
        `field` - the field instance.

  - ### Method Detail

    - #### applyValue

          public void applyValue(Object target)
                          throws ConfigException

      Evaluate the initial keys fromMap the configuration and applyChanges it to the field.
      Parameters:
        `target` - the target instance.
      Throws:
        `ConfigException` - if evaluation or conversion failed.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014–2015 Apache Software Foundation. All rights reserved.