public class Binder extends ObjectSE
ConfigurationPropertySources からのオブジェクトをバインドするコンテナーオブジェクト。| コンストラクターと説明 |
|---|
Binder(ConfigurationPropertySource... sources) 指定されたソースの新しい Binder インスタンスを作成します。 |
Binder(IterableSE<ConfigurationPropertySource> sources) 指定されたソースの新しい Binder インスタンスを作成します。 |
Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver) 指定されたソースの新しい Binder インスタンスを作成します。 |
Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, org.springframework.core.convert.ConversionService conversionService) 指定されたソースの新しい Binder インスタンスを作成します。 |
Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, org.springframework.core.convert.ConversionService conversionService, ConsumerSE<org.springframework.beans.PropertyEditorRegistry> propertyEditorInitializer) 指定されたソースの新しい Binder インスタンスを作成します。 |
Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, org.springframework.core.convert.ConversionService conversionService, ConsumerSE<org.springframework.beans.PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler) 指定されたソースの新しい Binder インスタンスを作成します。 |
Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, org.springframework.core.convert.ConversionService conversionService, ConsumerSE<org.springframework.beans.PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler, BindConstructorProvider constructorProvider) 指定されたソースの新しい Binder インスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
<T> BindResult<T> | bind(ConfigurationPropertyName name, Bindable<T> target) このバインダーの property sources を使用して、指定されたターゲット Bindable をバインドします。 |
<T> BindResult<T> | bind(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) このバインダーの property sources を使用して、指定されたターゲット Bindable をバインドします。 |
<T> BindResult<T> | bind(StringSE name, Bindable<T> target) このバインダーの property sources を使用して、指定されたターゲット Bindable をバインドします。 |
<T> BindResult<T> | bind(StringSE name, Bindable<T> target, BindHandler handler) このバインダーの property sources を使用して、指定されたターゲット Bindable をバインドします。 |
<T> BindResult<T> | bind(StringSE name, ClassSE<T> target) このバインダーの property sources を使用して、指定されたターゲット ClassSE をバインドします。 |
<T> T | bindOrCreate(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) このバインダーの property sources を使用して指定されたターゲット Bindable をバインドするか、バインドの結果が null の場合、Bindable の型を使用して新しいインスタンスを作成します。 |
<T> T | bindOrCreate(StringSE name, Bindable<T> target) このバインダーの property sources を使用して指定されたターゲット Bindable をバインドするか、バインドの結果が null の場合、Bindable の型を使用して新しいインスタンスを作成します。 |
<T> T | bindOrCreate(StringSE name, Bindable<T> target, BindHandler handler) このバインダーの property sources を使用して指定されたターゲット Bindable をバインドするか、バインドの結果が null の場合、Bindable の型を使用して新しいインスタンスを作成します。 |
<T> T | bindOrCreate(StringSE name, ClassSE<T> target) このバインダーの property sources を使用して指定されたターゲット ClassSE をバインドするか、バインドの結果が null の場合、Bindable の型を使用して新しいインスタンスを作成します。 |
static Binder | get(org.springframework.core.env.Environment environment) 指定された環境から新しい Binder インスタンスを作成します。 |
static Binder | get(org.springframework.core.env.Environment environment, BindHandler defaultBindHandler) 指定された環境から新しい Binder インスタンスを作成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic Binder(ConfigurationPropertySource... sources)
Binder インスタンスを作成します。DefaultFormattingConversionService はすべての変換に使用されます。sources - バインディングに使用されるソース public Binder(IterableSE<ConfigurationPropertySource> sources)
Binder インスタンスを作成します。DefaultFormattingConversionService はすべての変換に使用されます。sources - バインディングに使用されるソース public Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver)
Binder インスタンスを作成します。sources - バインディングに使用されるソース placeholdersResolver - プロパティのプレースホルダーを解決するための戦略 public Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, org.springframework.core.convert.ConversionService conversionService)
Binder インスタンスを作成します。sources - バインディングに使用されるソース placeholdersResolver - プロパティのプレースホルダーを解決するための戦略 conversionService - 値を変換する変換サービス (または ApplicationConversionService を使用するには null )public Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, org.springframework.core.convert.ConversionService conversionService, ConsumerSE<org.springframework.beans.PropertyEditorRegistry> propertyEditorInitializer)
Binder インスタンスを作成します。sources - バインディングに使用されるソース placeholdersResolver - プロパティのプレースホルダーを解決するための戦略 conversionService - 値を変換する変換サービス (または ApplicationConversionService を使用するには null )propertyEditorInitializer - 値を変換できるプロパティエディター(または初期化が不要な場合は null)を構成するために使用されるイニシャライザー。多くの場合、ConfigurableBeanFactory.copyRegisteredEditorsTo(org.springframework.beans.PropertyEditorRegistry) を呼び出すために使用されます。public Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, org.springframework.core.convert.ConversionService conversionService, ConsumerSE<org.springframework.beans.PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler)
Binder インスタンスを作成します。sources - バインディングに使用されるソース placeholdersResolver - プロパティのプレースホルダーを解決するための戦略 conversionService - 値を変換する変換サービス (または ApplicationConversionService を使用するには null )propertyEditorInitializer - 値を変換できるプロパティエディター(または初期化が不要な場合は null)を構成するために使用されるイニシャライザー。多くの場合、ConfigurableBeanFactory.copyRegisteredEditorsTo(org.springframework.beans.PropertyEditorRegistry) を呼び出すために使用されます。defaultBindHandler - バインド時に何も指定されていない場合に使用するデフォルトのバインドハンドラー public Binder(IterableSE<ConfigurationPropertySource> sources, PlaceholdersResolver placeholdersResolver, org.springframework.core.convert.ConversionService conversionService, ConsumerSE<org.springframework.beans.PropertyEditorRegistry> propertyEditorInitializer, BindHandler defaultBindHandler, BindConstructorProvider constructorProvider)
Binder インスタンスを作成します。sources - バインディングに使用されるソース placeholdersResolver - プロパティのプレースホルダーを解決するための戦略 conversionService - 値を変換する変換サービス (または ApplicationConversionService を使用するには null )propertyEditorInitializer - 値を変換できるプロパティエディター(または初期化が不要な場合は null)を構成するために使用されるイニシャライザー。多くの場合、ConfigurableBeanFactory.copyRegisteredEditorsTo(org.springframework.beans.PropertyEditorRegistry) を呼び出すために使用されます。defaultBindHandler - バインド時に何も指定されていない場合に使用するデフォルトのバインドハンドラー constructorProvider - バインド時に使用するバインドコンストラクターを提供するコンストラクタープロバイダー public <T> BindResult<T> bind(StringSE name, ClassSE<T> target)
property sources を使用して、指定されたターゲット ClassSE をバインドします。T - バインドされた型 name - バインドする構成プロパティ名 target - ターゲットクラス null ではない)bind(ConfigurationPropertyName, Bindable, BindHandler)public <T> BindResult<T> bind(StringSE name, Bindable<T> target)
property sources を使用して、指定されたターゲット Bindable をバインドします。T - バインドされた型 name - バインドする構成プロパティ名 target - ターゲットのバインド可能 null ではない)bind(ConfigurationPropertyName, Bindable, BindHandler)public <T> BindResult<T> bind(ConfigurationPropertyName name, Bindable<T> target)
property sources を使用して、指定されたターゲット Bindable をバインドします。T - バインドされた型 name - バインドする構成プロパティ名 target - ターゲットのバインド可能 null ではない)bind(ConfigurationPropertyName, Bindable, BindHandler)public <T> BindResult<T> bind(StringSE name, Bindable<T> target, BindHandler handler)
property sources を使用して、指定されたターゲット Bindable をバインドします。T - バインドされた型 name - バインドする構成プロパティ名 target - ターゲットのバインド可能 handler - バインドハンドラー (null の場合があります)null ではない)public <T> BindResult<T> bind(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler)
property sources を使用して、指定されたターゲット Bindable をバインドします。T - バインドされた型 name - バインドする構成プロパティ名 target - ターゲットのバインド可能 handler - バインドハンドラー (null の場合があります)null ではない)public <T> T bindOrCreate(StringSE name, ClassSE<T> target)
property sources を使用して指定されたターゲット ClassSE をバインドするか、バインドの結果が null の場合、Bindable の型を使用して新しいインスタンスを作成します。T - バインドされた型 name - バインドする構成プロパティ名 target - ターゲットクラス bind(ConfigurationPropertyName, Bindable, BindHandler)public <T> T bindOrCreate(StringSE name, Bindable<T> target)
property sources を使用して指定されたターゲット Bindable をバインドするか、バインドの結果が null の場合、Bindable の型を使用して新しいインスタンスを作成します。T - バインドされた型 name - バインドする構成プロパティ名 target - ターゲットのバインド可能 bindOrCreate(ConfigurationPropertyName, Bindable, BindHandler)public <T> T bindOrCreate(StringSE name, Bindable<T> target, BindHandler handler)
property sources を使用して指定されたターゲット Bindable をバインドするか、バインドの結果が null の場合、Bindable の型を使用して新しいインスタンスを作成します。T - バインドされた型 name - バインドする構成プロパティ名 target - ターゲットのバインド可能 handler - バインドハンドラー bindOrCreate(ConfigurationPropertyName, Bindable, BindHandler)public <T> T bindOrCreate(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler)
property sources を使用して指定されたターゲット Bindable をバインドするか、バインドの結果が null の場合、Bindable の型を使用して新しいインスタンスを作成します。T - バインドまたは作成された型 name - バインドする構成プロパティ名 target - ターゲットのバインド可能 handler - バインドハンドラー (null の場合があります)public static Binder get(org.springframework.core.env.Environment environment)
Binder インスタンスを作成します。environment - 環境ソース (ConfigurationPropertySources がアタッチされている必要があります)Binder インスタンス public static Binder get(org.springframework.core.env.Environment environment, BindHandler defaultBindHandler)
Binder インスタンスを作成します。environment - 環境ソース (ConfigurationPropertySources がアタッチされている必要があります)defaultBindHandler - バインド時に何も指定されていない場合に使用するデフォルトのバインドハンドラー Binder インスタンス Copyright © 2019 Pivotal Software, Inc.. All rights reserved.