net.shibboleth.metadata.pipeline
Class StatusMetadataLoggingStage

java.lang.Object
  extended by net.shibboleth.metadata.pipeline.AbstractComponent
      extended by net.shibboleth.metadata.pipeline.BaseStage<Item<?>>
          extended by net.shibboleth.metadata.pipeline.AbstractItemMetadataSelectionStage
              extended by net.shibboleth.metadata.pipeline.StatusMetadataLoggingStage
All Implemented Interfaces:
Component, Stage<Item<?>>

public class StatusMetadataLoggingStage
extends AbstractItemMetadataSelectionStage

A Stage that logs StatusMetadata associated with an Item.


Field Summary
private  Logger log
          Class logger.
 
Constructor Summary
StatusMetadataLoggingStage()
           
 
Method Summary
protected  void doExecute(Collection<Item<?>> itemCollection, Item<?> matchingItem, Map<Class<? extends ItemMetadata>,List<? extends ItemMetadata>> matchingMetadata)
          Performs the stage's logic on the given item that contained metadata of the given type.
 
Methods inherited from class net.shibboleth.metadata.pipeline.AbstractItemMetadataSelectionStage
doExecute, getItemIdentifierStrategy, getSelectionRequirements, setIdentifierStrategy, setSelectionRequirements
 
Methods inherited from class net.shibboleth.metadata.pipeline.BaseStage
execute
 
Methods inherited from class net.shibboleth.metadata.pipeline.AbstractComponent
doInitialize, 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

log

private final Logger log
Class logger.

Constructor Detail

StatusMetadataLoggingStage

public StatusMetadataLoggingStage()
Method Detail

doExecute

protected void doExecute(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 collection
matchingItem - matching item
matchingMetadata - all the ItemMetadata instances that match a selection criteria
Throws:
StageProcessingException - thrown if there is a problem processing the item


Copyright © 2009-2011. All Rights Reserved.