public static interface BindingContext.Builder
| Modifier and Type | Method and Description |
|---|---|
BindingContext.Builder |
addAll(BindingContext context)
Will include all bindings in the given
BindingContext. |
default BindingContext.Builder |
addBinding(String identifier,
Supplier<TypedValue> value)
Will create a binding for the specified identifier and lazy value.
|
BindingContext.Builder |
addBinding(String identifier,
TypedValue value)
Will create a binding for the specified identifier and value.
|
BindingContext.Builder |
addModule(ExpressionModule expressionModule)
Will add a new module to this binding
|
BindingContext |
build() |
BindingContext.Builder addBinding(String identifier, TypedValue value)
value - the value to bindidentifier - the keyword to use in the EL to access the valuedefault BindingContext.Builder addBinding(String identifier, Supplier<TypedValue> value)
value - the value to bindidentifier - the keyword to use in the EL to access the valueBindingContext.Builder addAll(BindingContext context)
BindingContext.context - a context whose bindings to addBindingContext.Builder addModule(ExpressionModule expressionModule)
expressionModule - The module to be addedBindingContext build()
Copyright © 2020 MuleSoft, Inc.. All rights reserved.