org.opensaml.ws.message.handler
Class BasicPhasedHandlerChain

java.lang.Object
  extended by org.opensaml.ws.message.handler.BasicHandlerChain
      extended by org.opensaml.ws.message.handler.BasicPhasedHandlerChain
All Implemented Interfaces:
HandlerChain, PhasedHandlerChain

public class BasicPhasedHandlerChain
extends BasicHandlerChain
implements PhasedHandlerChain

A basic implementation of PhasedHandlerChain.


Constructor Summary
BasicPhasedHandlerChain()
          Constructor.
 
Method Summary
 List<Handler> getHandlers()
          Get the modifiable list of handlers in the handler chain.
 Map<String,HandlerChain> getPhaseChains()
          Modifiable map of phase names to corresponding handler chains.
 List<String> getPhaseOrder()
          Get the order of phase invocation.
 void setPhaseOrder(List<String> newPhaseOrder)
          Set the order of phase invocation.
 
Methods inherited from class org.opensaml.ws.message.handler.BasicHandlerChain
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.ws.message.handler.HandlerChain
invoke
 

Constructor Detail

BasicPhasedHandlerChain

public BasicPhasedHandlerChain()
Constructor.

Method Detail

getHandlers

public List<Handler> getHandlers()
Get the modifiable list of handlers in the handler chain.

Specified by:
getHandlers in interface HandlerChain
Specified by:
getHandlers in interface PhasedHandlerChain
Overrides:
getHandlers in class BasicHandlerChain
Returns:
list of handlers

getPhaseChains

public Map<String,HandlerChain> getPhaseChains()
Modifiable map of phase names to corresponding handler chains.

Specified by:
getPhaseChains in interface PhasedHandlerChain
Returns:
the map of phase names to handler chains

getPhaseOrder

public List<String> getPhaseOrder()
Get the order of phase invocation. Handler chains will be invoked in the order determined by this list.

Specified by:
getPhaseOrder in interface PhasedHandlerChain
Returns:
the ordered list of phase names

setPhaseOrder

public void setPhaseOrder(List<String> newPhaseOrder)
Set the order of phase invocation. Handler chains will be invoked in the order determined by this list.

Specified by:
setPhaseOrder in interface PhasedHandlerChain
Parameters:
newPhaseOrder - a list of phase names


Copyright © 2006-2013 Internet2. All Rights Reserved.