org.apache.commons.pipeline
Interface PipelineFactory

All Known Implementing Classes:
DigesterPipelineFactory

public interface PipelineFactory

Simple factory interface for creating pipelines. This interface is commonly implemented in different ways to allow creation of a pipeline based upon some external configuration source instead of in code.


Method Summary
 Pipeline createPipeline()
          Returns a Pipeline created by the factory.
 

Method Detail

createPipeline

Pipeline createPipeline()
                        throws PipelineCreationException
Returns a Pipeline created by the factory.

Returns:
the newly created pipeline
Throws:
PipelineCreationException - if there is an error creating the pipeline


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.