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 thePipelineBuilderImpl
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S
instantiateBridge(S nextBridge, F filter)
Instantiates a bridge object.
-
-
-
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 servicefilter
- the filter object for this step of the pipeline
-
-