public interface PhasedHandlerChain extends HandlerChain
HandlerChain which supports organizing multiple
handler chains into a set of named handler chains called 'phases', which will be
invoked in a specified order.| Modifier and Type | Method and Description |
|---|---|
List<Handler> |
getHandlers()
Get the complete effective list of ordered 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.
|
invokeMap<String,HandlerChain> getPhaseChains()
List<String> getPhaseOrder()
void setPhaseOrder(List<String> newPhaseOrder)
newPhaseOrder - a list of phase namesList<Handler> getHandlers()
Note that unlike HandlerChain, the returned list is NOTmodifiable.
Handler instances in the effective chain should be added and removed via
membership in the appropriate handler chain phase, obtained via getPhaseChains().
getHandlers in interface HandlerChainCopyright © 2018 JBoss by Red Hat. All rights reserved.