Package org.apache.tapestry5.ioc.internal.services

## Class ChainBuilderImpl

- java.lang.Object
- - org.apache.tapestry5.ioc.internal.services.ChainBuilderImpl

- All Implemented Interfaces:
    `ChainBuilder`

      public class ChainBuilderImpl
      extends java.lang.Object
      implements ChainBuilder

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ChainBuilderImpl​(PlasticProxyFactory proxyFactory)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> T` | `build​(java.lang.Class<T> commandInterface, java.util.List<T> commands)` | Creates a chain instance from a command interface and a list of commands (implementing the interface).

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

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

- - ### Constructor Detail

    - #### ChainBuilderImpl

          public ChainBuilderImpl​(@Builtin
                                  PlasticProxyFactory proxyFactory)

  - ### Method Detail

    - #### build

          public <T> T build​(java.lang.Class<T> commandInterface,
                             java.util.List<T> commands)

      Description copied from interface: `ChainBuilder`
      Creates a chain instance from a command interface and a list of commands (implementing the interface).
      Specified by:
        `build` in interface `ChainBuilder`
      Type Parameters:
        `T` - the command interface type
      Parameters:
        `commandInterface` - the command interface
        `commands` - the list of commands to be chained
      Returns:
        the chain instance