org.springframework.boot.context.properties
Annotation Type EnableConfigurationProperties


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Import(value=org.springframework.boot.context.properties.EnableConfigurationPropertiesImportSelector.class)
public @interface EnableConfigurationProperties

Enable support for ConfigurationProperties annotated beans. ConfigurationProperties beans can be registered in the standard way (for example using @Bean methods) or, for convenience, can be specified directly on this annotation.

Author:
Dave Syer

Optional Element Summary
 Class<?>[] value
          Convenient way to quickly register ConfigurationProperties beans with Spring.
 

value

public abstract Class<?>[] value
Convenient way to quickly register ConfigurationProperties beans with Spring. Standard Spring Beans will also be scanned regardless of this value.

Default:
{}


Copyright © 2013. All Rights Reserved.