org.springframework.boot.context.properties.ConfigurationPropertiesBinding Java Examples

The following examples show how to use org.springframework.boot.context.properties.ConfigurationPropertiesBinding. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ConfigurationPropertiesExternalizedConfigurationBootstrap.java    From thinking-in-spring-boot-samples with Apache License 2.0 4 votes vote down vote up
@Bean
@ConfigurationPropertiesBinding
public GenericConverter stringToLocalDateGenericConverter() {
    return new StringToLocalDateGenericConverter(new StringToLocalDateConverter());
}
 
Example #2
Source File: MailModuleConfiguration.java    From code-examples with MIT License 4 votes vote down vote up
@Bean
@ConfigurationPropertiesBinding
public WeightConverter weightConverter() {
	return new WeightConverter();
}
 
Example #3
Source File: RateLimitAutoConfiguration.java    From spring-cloud-zuul-ratelimit with Apache License 2.0 4 votes vote down vote up
@Bean
@ConfigurationPropertiesBinding
public StringToMatchTypeConverter stringToMatchTypeConverter() {
    return new StringToMatchTypeConverter();
}
 
Example #4
Source File: MesosAutoConfiguration.java    From spring-cloud-deployer-mesos with Apache License 2.0 4 votes vote down vote up
@Bean
@ConfigurationPropertiesBinding
public ConstraintConverter constraintConverter() {
	return new ConstraintConverter();
}
 
Example #5
Source File: CloudFoundryDeployerAutoConfiguration.java    From spring-cloud-deployer-cloudfoundry with Apache License 2.0 4 votes vote down vote up
@Bean
@ConfigurationPropertiesBinding
public DurationConverter durationConverter() {
	return new DurationConverter();
}
 
Example #6
Source File: JdbcSinkConfiguration.java    From spring-cloud-stream-app-starters with Apache License 2.0 4 votes vote down vote up
@Bean
@ConfigurationPropertiesBinding
public ShorthandMapConverter shorthandMapConverter() {
	return new ShorthandMapConverter();
}
 
Example #7
Source File: InetSocketAddressConverterConfiguration.java    From spring-cloud-stream-app-starters with Apache License 2.0 4 votes vote down vote up
@Bean
@ConfigurationPropertiesBinding
public Converter<String, InetSocketAddress> inetSocketAddressConverter() {
	return new InetSocketAddressConverter();
}
 
Example #8
Source File: SpelExpressionConverterConfiguration.java    From spring-cloud-stream with Apache License 2.0 4 votes vote down vote up
@Bean
@ConfigurationPropertiesBinding
@IntegrationConverter
public Converter<String, Expression> spelConverter() {
	return new SpelConverter();
}