public class BindingContextUtils extends Object
BindingContexts.| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTES |
static String |
AUTHENTICATION |
static String |
CORRELATION_ID |
static String |
DATA_TYPE |
static String |
ERROR |
static String |
FLOW |
static String |
MESSAGE |
static BindingContext |
NULL_BINDING_CONTEXT |
static String |
PARAMETERS |
static String |
PAYLOAD |
static String |
PROPERTIES |
static String |
VARS |
| Modifier and Type | Method and Description |
|---|---|
static BindingContext |
addEventBindings(Event event,
BindingContext baseContext)
Creates a new
BindingContext that contains the bindings from baseContext and the bindings that belong to the
given event. |
static BindingContext |
getTargetBindingContext(Message message)
Creates a new
BindingContext that only contains the restricted bindings to be used for evaluating the target expression. |
public static final String MESSAGE
public static final String PAYLOAD
public static final String DATA_TYPE
public static final String ATTRIBUTES
public static final String ERROR
public static final String CORRELATION_ID
public static final String VARS
public static final String PROPERTIES
public static final String PARAMETERS
public static final String AUTHENTICATION
public static final String FLOW
public static final BindingContext NULL_BINDING_CONTEXT
public static BindingContext addEventBindings(Event event, BindingContext baseContext)
BindingContext that contains the bindings from baseContext and the bindings that belong to the
given event.event - the event to build the new bindings for. Not-null.baseContext - the context whose copy the event bindings will be added to. Not-null.BindingContext that contains the bindings from baseContext and the bindings that belong to the
given event.public static BindingContext getTargetBindingContext(Message message)
BindingContext that only contains the restricted bindings to be used for evaluating the target expression.message - the message to build the bindings for. Not-null.BindingContext that contains the bindings from message.Copyright © 2017 MuleSoft, Inc.. All rights reserved.