bind
Bind the specified target Class using this binder's property sources.
Return
the binding result (never null
)
Parameters
name
the configuration property name to bind
target
the target class
<T>
the bound type
See also
Bind the specified target Bindable using this binder's property sources.
Return
the binding result (never null
)
Parameters
name
the configuration property name to bind
target
the target bindable
<T>
the bound type
See also
open fun <T> bind(name: ConfigurationPropertyName, target: Bindable<T>, handler: BindHandler): BindResult<T>
Bind the specified target Bindable using this binder's property sources.
Return
the binding result (never null
)
Parameters
name
the configuration property name to bind
target
the target bindable
handler
the bind handler (may be null
)
<T>
the bound type