org.apache.tamaya.inject.spi

## Interface ConfiguredType

-     public interface ConfiguredType

  Abstract model of an type used to inject configuration. This also includes instances passed programmatically.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configure(Object instance, org.apache.tamaya.Configuration config)` This method actually configures an instance using the given configuration data.
    `Collection<ConfiguredField>` | `getConfiguredFields()` Get the registered configured fields.
    `Collection<ConfiguredMethod>` | `getConfiguredMethods()` Get the registered configured methods.
    `String` | `getName()` Get the type's name.
    `Class` | `getType()` Get the type's class.

- - ### Method Detail

    - #### getType

          Class getType()

      Get the type's class.
      Returns:
        the base type.

    - #### getName

          String getName()

      Get the type's name.
      Returns:
        the type's name.

    - #### getConfiguredFields

          Collection<ConfiguredField> getConfiguredFields()

      Get the registered configured fields.
      Returns:
        the registered configured fields, never null.

    - #### getConfiguredMethods

          Collection<ConfiguredMethod> getConfiguredMethods()

      Get the registered configured methods.
      Returns:
        the registered configured methods, never null.

    - #### configure

          void configure(Object instance,
                       org.apache.tamaya.Configuration config)

      This method actually configures an instance using the given configuration data.
      Parameters:
        `instance` - The instance to be configured, not null.
        `config` - the target config, not null.

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