org.apache.tamaya.inject.internal

## Class ConfiguredSetterMethod

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

-     public class ConfiguredSetterMethod
      extends Object

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConfiguredSetterMethod(Method method)` 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, boolean resolve)` Evaluate the initial keys fromMap the configuration and applyChanges it to the field.

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

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

- - ### Constructor Detail

    - #### ConfiguredSetterMethod

          public ConfiguredSetterMethod(Method method)

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

  - ### Method Detail

    - #### applyValue

          public void applyValue(Object target,
                                 boolean resolve)
                          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.

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