Package org.springframework.boot.context.properties

Examples of org.springframework.boot.context.properties.ConfigurationProperties


  /**
   * Extract configuration prefix from {@link ConfigurationProperties} annotation.
   */
  private String extractPrefix(String beanName, Object bean) {
    ConfigurationProperties annotation = AnnotationUtils.findAnnotation(
        bean.getClass(), ConfigurationProperties.class);
    if (this.beanFactoryMetaData != null) {
      ConfigurationProperties override = this.beanFactoryMetaData
          .findFactoryAnnotation(beanName, ConfigurationProperties.class);
      if (override != null) {
        // The @Bean-level @ConfigurationProperties overrides the one at type
        // level when binding. Arguably we should render them both, but this one
        // might be the most relevant for a starting point.
View Full Code Here

TOP

Related Classes of org.springframework.boot.context.properties.ConfigurationProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.