Package 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
  Description
  `BridgeBuilder(org.slf4j.Logger logger, Class<S> serviceInterface, Class<F> filterInterface, PlasticProxyFactory proxyFactory)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### BridgeBuilder

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

- ## Method Details

  - ### 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