get

open fun get(environment: Environment): Binder

Create a new Binder instance from the specified environment.

Return

a Binder instance

Parameters

environment

the environment source (must have attached ConfigurationPropertySources)


open fun get(environment: Environment, defaultBindHandler: BindHandler): Binder

Create a new Binder instance from the specified environment.

Return

a Binder instance

Since

2.2.0

Parameters

environment

the environment source (must have attached ConfigurationPropertySources)

defaultBindHandler

the default bind handler to use if none is specified whenbinding