public abstract class ExpressionEvaluatorSupport extends Object
Constructor and Description |
---|
ExpressionEvaluatorSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
computeClassHierarchy(Class clazz,
List classes)
Get all superclasses and interfaces recursively.
|
protected Object |
evaluate(TemplateParser.PatternInfo patternInfo,
ExpressionManager expressionManager,
MuleMessage muleMessage,
Object source) |
protected Object |
evaluateAndTransform(MuleContext muleContext,
MuleEvent event,
Type expectedType,
String expectedMimeType,
Object source) |
protected Object |
evaluateAndTransform(MuleContext muleContext,
MuleMessage muleMessage,
Type expectedType,
String expectedMimeType,
Object source) |
protected String |
getAccessTokenId(MuleEvent event,
MessageProcessor processor,
OAuth2Manager<?> oauthManager) |
protected boolean |
isAssignableFrom(Type expectedType,
Class clazz) |
protected boolean |
isList(Type type) |
protected boolean |
isListClass(Class clazz)
Checks whether the specified class parameter is an instance of
List |
protected boolean |
isMap(Type type) |
protected boolean |
isMapClass(Class clazz)
Checks whether the specified class parameter is an instance of
Map |
protected Object |
transform(MuleContext muleContext,
MuleEvent event,
Type expectedType,
String expectedMimeType,
Object source) |
protected Object |
transform(MuleContext muleContext,
MuleMessage message,
Type expectedType,
String expectedMimeType,
Object source) |
protected Object |
transform(MuleMessage muleMessage,
Type expectedType,
Object source) |
protected void computeClassHierarchy(Class clazz, List classes)
classes
- List of classes to which to add all found super classes and
interfaces.clazz
- The class to start the search with.protected boolean isListClass(Class clazz)
List
clazz
- Class
to check.protected boolean isMapClass(Class clazz)
Map
clazz
- Class
to check.protected boolean isList(Type type)
protected boolean isMap(Type type)
protected Object evaluate(TemplateParser.PatternInfo patternInfo, ExpressionManager expressionManager, MuleMessage muleMessage, Object source)
protected Object evaluateAndTransform(MuleContext muleContext, MuleEvent event, Type expectedType, String expectedMimeType, Object source) throws TransformerException, TransformerMessagingException
protected Object evaluateAndTransform(MuleContext muleContext, MuleMessage muleMessage, Type expectedType, String expectedMimeType, Object source) throws TransformerException, TransformerMessagingException
protected Object transform(MuleMessage muleMessage, Type expectedType, Object source) throws TransformerException
TransformerException
protected Object transform(MuleContext muleContext, MuleEvent event, Type expectedType, String expectedMimeType, Object source) throws TransformerException, TransformerMessagingException
protected Object transform(MuleContext muleContext, MuleMessage message, Type expectedType, String expectedMimeType, Object source) throws TransformerException, TransformerMessagingException
protected String getAccessTokenId(MuleEvent event, MessageProcessor processor, OAuth2Manager<?> oauthManager) throws org.mule.common.connection.exception.UnableToAcquireConnectionException
org.mule.common.connection.exception.UnableToAcquireConnectionException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.