public class StaticHandlerChainResolver extends Object implements HandlerChainResolver
Constructor and Description |
---|
StaticHandlerChainResolver(HandlerChain newHandlerChain)
Constructor.
|
StaticHandlerChainResolver(List<HandlerChain> newHandlerChains)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Iterable<HandlerChain> |
resolve(MessageContext messageContext)
Resolve handler chain instances based on the message context.
|
public StaticHandlerChainResolver(HandlerChain newHandlerChain)
newHandlerChain
- the static handler chain returned by this resolverpublic StaticHandlerChainResolver(List<HandlerChain> newHandlerChains)
newHandlerChains
- the static list of handler chains returned by this resolverpublic Iterable<HandlerChain> resolve(MessageContext messageContext) throws HandlerException
resolve
in interface HandlerChainResolver
messageContext
- the message context to processHandlerException
- thrown if there is an error resolving the handler chainCopyright © 2018 JBoss by Red Hat. All rights reserved.