org.apache.tapestry5.ioc.internal.services

## Class BridgeBuilder<S,F>

- java.lang.Object
- - org.apache.tapestry5.ioc.internal.services.BridgeBuilder<S,F>

-     public class BridgeBuilder<S,F>
      extends Object

  Used by the `PipelineBuilderImpl` to create bridge classes and to create instances of bridge classes. A bridge class implements the service interface. Within the chain, bridge 1 is passed to filter 1. Invoking methods on bridge 1 will invoke methods on filter 2.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BridgeBuilder(org.slf4j.Logger logger, Class<S> serviceInterface, Class<F> filterInterface, PlasticProxyFactory proxyFactory)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `S` | `instantiateBridge(S nextBridge, F filter)` Instantiates a bridge object.

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

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

- - ### Constructor Detail

    - #### BridgeBuilder

          public BridgeBuilder(org.slf4j.Logger logger,
                               Class<S> serviceInterface,
                               Class<F> filterInterface,
                               PlasticProxyFactory proxyFactory)

  - ### Method Detail

    - #### instantiateBridge

          public S instantiateBridge(S nextBridge,
                                     F filter)

      Instantiates a bridge object.
      Parameters:
        `nextBridge` - the next Bridge object in the pipeline, or the terminator service
        `filter` - the filter object for this step of the pipeline

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.