Class 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.
    • 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