Class BasicMessageHandlerChain
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- org.opensaml.messaging.handler.AbstractMessageHandler
-
- org.opensaml.messaging.handler.impl.BasicMessageHandlerChain
-
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.component.Component,net.shibboleth.utilities.java.support.component.DestructableComponent,net.shibboleth.utilities.java.support.component.InitializableComponent,org.opensaml.messaging.handler.MessageHandler,org.opensaml.messaging.handler.MessageHandlerChain
public class BasicMessageHandlerChain extends org.opensaml.messaging.handler.AbstractMessageHandler implements org.opensaml.messaging.handler.MessageHandlerChainA basic implementation ofMessageHandlerChain.
-
-
Constructor Summary
Constructors Constructor Description BasicMessageHandlerChain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoInvoke(org.opensaml.messaging.context.MessageContext msgContext)List<org.opensaml.messaging.handler.MessageHandler>getHandlers()voidsetHandlers(List<org.opensaml.messaging.handler.MessageHandler> handlers)Set the list of message handler chain members.-
Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
members
@NonnullAfterInit @NonnullElements private List<org.opensaml.messaging.handler.MessageHandler> members
The list of members of the handler chain.
-
-
Method Detail
-
getHandlers
@NonnullAfterInit @NonnullElements public List<org.opensaml.messaging.handler.MessageHandler> getHandlers()
The returned list is immutable. Changes to the list should be accomplished through
setHandlers(List).- Specified by:
getHandlersin interfaceorg.opensaml.messaging.handler.MessageHandlerChain
-
setHandlers
public void setHandlers(@Nullable @NonnullElements List<org.opensaml.messaging.handler.MessageHandler> handlers)Set the list of message handler chain members.The supplied list is copied before being stored. Later modifications to the originally supplied list will not be reflected in the handler chain membership.
- Parameters:
handlers- the list of message handler members
-
doInvoke
public void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext msgContext) throws org.opensaml.messaging.handler.MessageHandlerException- Specified by:
doInvokein classorg.opensaml.messaging.handler.AbstractMessageHandler- Throws:
org.opensaml.messaging.handler.MessageHandlerException
-
-