Class PipelineBuilderImpl
java.lang.Object
org.apache.tapestry5.ioc.internal.services.PipelineBuilderImpl
- All Implemented Interfaces:
PipelineBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionPipelineBuilderImpl
(PlasticProxyFactory proxyFactory, DefaultImplementationBuilder defaultImplementationBuilder) -
Method Summary
Modifier and TypeMethodDescription<S,
F> S build
(org.slf4j.Logger logger, Class<S> serviceInterface, Class<F> filterInterface, List<F> filters) Creates a pipeline from just the filters.<S,
F> S build
(org.slf4j.Logger logger, Class<S> serviceInterface, Class<F> filterInterface, List<F> filters, S terminator) Creates a pipeline from the filters and a terminator.
-
Constructor Details
-
PipelineBuilderImpl
public PipelineBuilderImpl(@Builtin PlasticProxyFactory proxyFactory, DefaultImplementationBuilder defaultImplementationBuilder)
-
-
Method Details
-
build
public <S,F> S build(org.slf4j.Logger logger, Class<S> serviceInterface, Class<F> filterInterface, List<F> filters) Description copied from interface:PipelineBuilder
Creates a pipeline from just the filters. Adefault implementation
is created as the terminator.- Specified by:
build
in interfacePipelineBuilder
- Type Parameters:
S
- service typeF
- filter type- Parameters:
logger
- logs any warnings generated when constructing the pipelineserviceInterface
- defines the interface for the pipelinefilterInterface
- the filter interface, contributed into the pipelinefilters
- sorted list of filters- Returns:
- an object that encapsulates the filters and the default implementation
-
build
public <S,F> S build(org.slf4j.Logger logger, Class<S> serviceInterface, Class<F> filterInterface, List<F> filters, S terminator) Description copied from interface:PipelineBuilder
Creates a pipeline from the filters and a terminator.- Specified by:
build
in interfacePipelineBuilder
- Type Parameters:
S
- service typeF
- filter type- Parameters:
logger
- logs any warnings generated when constructing the pipelineserviceInterface
- defines the interface for the pipelinefilterInterface
- the filter interface, contributed into the pipelinefilters
- sorted list of filtersterminator
- end of the pipeline- Returns:
- an object that encapsulates the filters and the terminator
-