org.apache.tamaya.inject.internal

## Class ConfigTemplateInvocationHandler

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

- All Implemented Interfaces:
    InvocationHandler

      public final class ConfigTemplateInvocationHandler
      extends Object
      implements InvocationHandler

  Invocation handler that handles request against a configuration template.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConfigTemplateInvocationHandler(Class<?> type, Configuration configuration)` Creates a new handler instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `invoke(Object proxy, Method method, Object[] args)`

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

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

- - ### Constructor Detail

    - #### ConfigTemplateInvocationHandler

          public ConfigTemplateInvocationHandler(Class<?> type,
                                                 Configuration configuration)

      Creates a new handler instance.
      Parameters:
        `type` - the target type, not null.
        `configuration` - the configuration to be used for evaluating the values for injection into `instance`, not null.

  - ### Method Detail

    - #### invoke

          public Object invoke(Object proxy,
                               Method method,
                               Object[] args)
                        throws Throwable

      Specified by:
        `invoke` in interface `InvocationHandler`
      Throws:
        `Throwable`

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