|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.pipeline.AbstractComponent
net.shibboleth.metadata.pipeline.SimplePipeline<ItemType>
ItemType - the type of Item upon which this stage operates@ThreadSafe public class SimplePipeline<ItemType extends Item<?>>
A very simple implementation of Pipeline.
| Field Summary | |
|---|---|
private List<Stage<ItemType>> |
pipelineStages
Stages for this pipeline. |
| Constructor Summary | |
|---|---|
SimplePipeline()
|
|
| Method Summary | |
|---|---|
protected void |
doInitialize()
Do the initialization of the component. |
void |
execute(Collection<ItemType> itemCollection)
Executes each registered Stage in turn. |
List<Stage<ItemType>> |
getStages()
Gets the list of Stages within the pipeline. |
void |
setStages(List<Stage<ItemType>> stages)
Sets the stages that make up this pipeline. |
| Methods inherited from class net.shibboleth.metadata.pipeline.AbstractComponent |
|---|
equals, getId, getInitializationInstant, hashCode, initialize, isInitialized, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.shibboleth.metadata.pipeline.Component |
|---|
getId, getInitializationInstant, initialize, isInitialized |
| Field Detail |
|---|
private List<Stage<ItemType extends Item<?>>> pipelineStages
| Constructor Detail |
|---|
public SimplePipeline()
| Method Detail |
|---|
public List<Stage<ItemType>> getStages()
getStages in interface Pipeline<ItemType extends Item<?>>public void setStages(List<Stage<ItemType>> stages)
stages - stages that make up this pipeline
public void execute(Collection<ItemType> itemCollection)
throws PipelineProcessingException
Stage in turn.
execute in interface Pipeline<ItemType extends Item<?>>itemCollection - the collection that will hold the Item as it passes from stage to stage
PipelineProcessingException - thrown if there is a problem processing the pipeline
protected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractComponentComponentInitializationException - throw if there is a problem initializing the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||