public final class NestedProcessorValueResolver extends Object implements ValueResolver<NestedProcessor>
ValueResolver
which wraps the given
MuleEvent
in a NestedProcessor
.
This resolver returns new instances per every invocationConstructor and Description |
---|
NestedProcessorValueResolver(MessageProcessor messageProcessor) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDynamic()
returns
false if subsequent invocations to
ValueResolver.resolve(MuleEvent) will return the same value. |
NestedProcessor |
resolve(MuleEvent event)
Returns a
NestedProcessor that wraps the event |
public NestedProcessorValueResolver(MessageProcessor messageProcessor)
public NestedProcessor resolve(MuleEvent event) throws MuleException
NestedProcessor
that wraps the event
resolve
in interface ValueResolver<NestedProcessor>
event
- a MuleEvent
NestedProcessor
MuleException
public boolean isDynamic()
ValueResolver
false
if subsequent invocations to
ValueResolver.resolve(MuleEvent)
will return the same value.
Notice that if it returns true
, then it might return different
values per invocation but that's not guaranteed.isDynamic
in interface ValueResolver<NestedProcessor>
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.