Package org.apache.tapestry5.ioc.internal.util

## Class ConstructorInvoker<T>

- java.lang.Object
- - org.apache.tapestry5.ioc.internal.util.ConstructorInvoker<T>

- All Implemented Interfaces:
    `Invokable<T>`

      public class ConstructorInvoker<T>
      extends Object
      implements Invokable<T>

  Wraps the invocation of a constructor (with exception reporting) as an `Invokable`.
  Since:
    5.3

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ConstructorInvoker​(Constructor constructor, ObjectCreator[] constructorParameters)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `invoke()` | Called to produce a value.

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

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

- - ### Constructor Detail

    - #### ConstructorInvoker

          public ConstructorInvoker​(Constructor constructor,
                                    ObjectCreator[] constructorParameters)

  - ### Method Detail

    - #### invoke

          public T invoke()

      Description copied from interface: `Invokable`
      Called to produce a value.
      Specified by:
        `invoke` in interface `Invokable<T>`