インターフェースの使用
org.springframework.boot.context.properties.bind.BindHandler
BindHandler を使用するパッケージ
org.springframework.boot.context.properties 内の BindHandler 使用
修飾子と型メソッド説明ConfigurationPropertiesBindHandlerAdvisor.apply
(BindHandler bindHandler) ソースバインドハンドラーに追加機能を適用します。型 BindHandler のパラメーターを持つ org.springframework.boot.context.properties のメソッド修飾子と型メソッド説明ConfigurationPropertiesBindHandlerAdvisor.apply
(BindHandler bindHandler) ソースバインドハンドラーに追加機能を適用します。org.springframework.boot.context.properties.bind 内の BindHandler 使用
BindHandler として宣言されている org.springframework.boot.context.properties.bind のフィールド型 BindHandler のパラメーターを持つ org.springframework.boot.context.properties.bind のメソッド修飾子と型メソッド説明<T> BindResult<T>
Binder.bind
(StringSE name, Bindable<T> target, BindHandler handler) このバインダーのproperty sources
を使用して、指定されたターゲットBindable
をバインドします。<T> BindResult<T>
Binder.bind
(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) このバインダーのproperty sources
を使用して、指定されたターゲットBindable
をバインドします。<T> T
Binder.bindOrCreate
(StringSE name, Bindable<T> target, BindHandler handler) このバインダーのproperty sources
を使用して指定されたターゲットBindable
をバインドするか、バインドの結果がnull
の場合、Bindable
の型を使用して新しいインスタンスを作成します。<T> T
Binder.bindOrCreate
(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) このバインダーのproperty sources
を使用して指定されたターゲットBindable
をバインドするか、バインドの結果がnull
の場合、Bindable
の型を使用して新しいインスタンスを作成します。static Binder
Binder.get
(Environment environment, BindHandler defaultBindHandler) 指定された環境から新しいBinder
インスタンスを作成します。型 BindHandler のパラメーターを持つ org.springframework.boot.context.properties.bind のコンストラクター修飾子コンストラクター説明AbstractBindHandler
(BindHandler parent) 特定の親を持つ新しいバインディングハンドラーインスタンスを作成します。Binder
(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, ListSE<ConversionService> conversionServices, ConsumerSE<PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler, BindConstructorProvider constructorProvider) 指定されたソースの新しいBinder
インスタンスを作成します。Binder
(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, ConversionService conversionService, ConsumerSE<PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler) 指定されたソースの新しいBinder
インスタンスを作成します。Binder
(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, ConversionService conversionService, ConsumerSE<PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler, BindConstructorProvider constructorProvider) 指定されたソースの新しいBinder
インスタンスを作成します。org.springframework.boot.context.properties.bind.handler 内の BindHandler 使用
修飾子と型クラス説明class
バインディングエラーを無視するために使用できるBindHandler
。class
最上位のConverterNotFoundException
を無視するために使用できるBindHandler
。class
BindHandler
。ルート名のすべての構成プロパティがバインドされていることを強制します。型 BindHandler のパラメーターを持つ org.springframework.boot.context.properties.bind.handler のコンストラクター修飾子コンストラクター説明IgnoreErrorsBindHandler
(BindHandler parent) 特定の親を持つ新しいIgnoreTopLevelConverterNotFoundBindHandler
インスタンスを作成します。org.springframework.boot.context.properties.bind.validation 内の BindHandler 使用
型 BindHandler のパラメーターを持つ org.springframework.boot.context.properties.bind.validation のコンストラクター