net.shibboleth.metadata.pipeline
Class ItemMetadataTerminationStage
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponent
net.shibboleth.metadata.pipeline.BaseStage<Item<?>>
net.shibboleth.metadata.pipeline.AbstractItemMetadataSelectionStage
net.shibboleth.metadata.pipeline.ItemMetadataTerminationStage
- All Implemented Interfaces:
- Stage<Item<?>>, net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.IdentifiableComponent, net.shibboleth.utilities.java.support.component.InitializableComponent
@ThreadSafe
public class ItemMetadataTerminationStage
- extends AbstractItemMetadataSelectionStage
A Stage that terminates pipeline processing if an Item has a specific type of ItemMetadata
attached to it.
|
Field Summary |
private Logger |
log
Class logger. |
| Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractDestructableIdentifiableInitializableComponent |
doInitialize, getId |
| Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractDestructableInitializableComponent |
destroy, initialize, isDestroyed, isInitialized |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.DestructableComponent |
destroy, isDestroyed |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiableComponent |
getId |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent |
initialize, isInitialized |
log
private final Logger log
- Class logger.
ItemMetadataTerminationStage
public ItemMetadataTerminationStage()
doExecute
protected void doExecute(@Nonnull@NonnullElements
Collection<Item<?>> itemCollection,
Item<?> matchingItem,
Map<Class<? extends ItemMetadata>,List<? extends ItemMetadata>> matchingMetadata)
throws StageProcessingException
- Performs the stage's logic on the given item that contained metadata of the given type.
- Specified by:
doExecute in class AbstractItemMetadataSelectionStage
- Parameters:
itemCollection - current item collectionmatchingItem - matching itemmatchingMetadata - all the ItemMetadata instances that match a selection criteria
- Throws:
StageProcessingException - thrown if there is a problem processing the item
Copyright © 1999-2012. All Rights Reserved.