|
|
@ -96,7 +96,7 @@ public class Binder {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create a new {@link Binder} instance for the specified sources.
|
|
|
|
* Create a new {@link Binder} instance for the specified sources.
|
|
|
|
* @param sources the sources used for binding
|
|
|
|
* @param sources the sources used for binding
|
|
|
|
* @param placeholdersResolver strategy to resolve any property place-holders
|
|
|
|
* @param placeholdersResolver strategy to resolve any property placeholders
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public Binder(Iterable<ConfigurationPropertySource> sources,
|
|
|
|
public Binder(Iterable<ConfigurationPropertySource> sources,
|
|
|
|
PlaceholdersResolver placeholdersResolver) {
|
|
|
|
PlaceholdersResolver placeholdersResolver) {
|
|
|
@ -106,7 +106,7 @@ public class Binder {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create a new {@link Binder} instance for the specified sources.
|
|
|
|
* Create a new {@link Binder} instance for the specified sources.
|
|
|
|
* @param sources the sources used for binding
|
|
|
|
* @param sources the sources used for binding
|
|
|
|
* @param placeholdersResolver strategy to resolve any property place-holders
|
|
|
|
* @param placeholdersResolver strategy to resolve any property placeholders
|
|
|
|
* @param conversionService the conversion service to convert values (or {@code null}
|
|
|
|
* @param conversionService the conversion service to convert values (or {@code null}
|
|
|
|
* to use {@link ApplicationConversionService})
|
|
|
|
* to use {@link ApplicationConversionService})
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -119,7 +119,7 @@ public class Binder {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create a new {@link Binder} instance for the specified sources.
|
|
|
|
* Create a new {@link Binder} instance for the specified sources.
|
|
|
|
* @param sources the sources used for binding
|
|
|
|
* @param sources the sources used for binding
|
|
|
|
* @param placeholdersResolver strategy to resolve any property place-holders
|
|
|
|
* @param placeholdersResolver strategy to resolve any property placeholders
|
|
|
|
* @param conversionService the conversion service to convert values (or {@code null}
|
|
|
|
* @param conversionService the conversion service to convert values (or {@code null}
|
|
|
|
* to use {@link ApplicationConversionService})
|
|
|
|
* to use {@link ApplicationConversionService})
|
|
|
|
* @param propertyEditorInitializer initializer used to configure the property editors
|
|
|
|
* @param propertyEditorInitializer initializer used to configure the property editors
|
|
|
@ -140,7 +140,7 @@ public class Binder {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Bind the specified target {@link Class} using this binders
|
|
|
|
* Bind the specified target {@link Class} using this binder's
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param target the target class
|
|
|
|
* @param target the target class
|
|
|
@ -153,7 +153,7 @@ public class Binder {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Bind the specified target {@link Bindable} using this binders
|
|
|
|
* Bind the specified target {@link Bindable} using this binder's
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param target the target bindable
|
|
|
|
* @param target the target bindable
|
|
|
@ -166,7 +166,7 @@ public class Binder {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Bind the specified target {@link Bindable} using this binders
|
|
|
|
* Bind the specified target {@link Bindable} using this binder's
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param target the target bindable
|
|
|
|
* @param target the target bindable
|
|
|
@ -179,7 +179,7 @@ public class Binder {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Bind the specified target {@link Bindable} using this binders
|
|
|
|
* Bind the specified target {@link Bindable} using this binder's
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param target the target bindable
|
|
|
|
* @param target the target bindable
|
|
|
@ -192,7 +192,7 @@ public class Binder {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Bind the specified target {@link Bindable} using this binders
|
|
|
|
* Bind the specified target {@link Bindable} using this binder's
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* {@link ConfigurationPropertySource property sources}.
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param name the configuration property name to bind
|
|
|
|
* @param target the target bindable
|
|
|
|
* @param target the target bindable
|
|
|
|