Package org.apache.tapestry5.ioc.internal

## Class InterceptorStackBuilder

- java.lang.Object
- - org.apache.tapestry5.ioc.internal.InterceptorStackBuilder

- All Implemented Interfaces:
    `ObjectCreator`

      public class InterceptorStackBuilder
      extends Object
      implements ObjectCreator

  Responsible for constructing the interceptor stack, on demand, by invoking an ordered series of decorators ( `DecoratorDef` (which are converted into `ServiceDecorator`s).

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `InterceptorStackBuilder​(ServiceDef3 serviceDef, ObjectCreator delegate, InternalRegistry registry)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | `createObject()` | Create and return the object.

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

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

- - ### Constructor Detail

    - #### InterceptorStackBuilder

          public InterceptorStackBuilder​(ServiceDef3 serviceDef,
                                         ObjectCreator delegate,
                                         InternalRegistry registry)

      Parameters:
        `serviceDef` - service begin decorated
        `delegate` - responsible for creating the object to be decorated
        `registry` - access to service decorators

  - ### Method Detail

    - #### createObject

          public Object createObject()

      Description copied from interface: `ObjectCreator`
      Create and return the object. In some limited circumstances, the implementation may cache the result, returning the same object for repeated calls.
      Specified by:
        `createObject` in interface `ObjectCreator`