public class ExpressionTransformerObjectFactory extends TransformerObjectFactory implements org.mule.runtime.api.lifecycle.Initialisable
ObjectFactory that constructs ExpressionTransformer from the mule
configuration.| Modifier and Type | Field and Description |
|---|---|
protected List<ExpressionArgument> |
arguments |
| Constructor and Description |
|---|
ExpressionTransformerObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractTransformer |
createInstance()
Template method for creating the transformer instance.
|
void |
initialise() |
void |
setExpression(String expression) |
void |
setReturnSourceIfNull(boolean returnSourceIfNull) |
doGetObject, postProcessInstance, setEncoding, setIgnoreBadInput, setMimeType, setName, setReturnClass, setTransformerClassgetAnnotation, getAnnotations, getLocation, getObject, setAnnotationsprotected List<ExpressionArgument> arguments
protected AbstractTransformer createInstance()
TransformerObjectFactorycreateInstance in class TransformerObjectFactorypublic void setReturnSourceIfNull(boolean returnSourceIfNull)
returnSourceIfNull - if true and all arguments are null then the input message will be return, otherwise the results
will be return even if they are null.public void setExpression(String expression)
expression - the expression to retrieve the argument value.public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.