Package org.springframework.boot.bind

Examples of org.springframework.boot.bind.RelaxedPropertyResolver


      pidFile = new File(override);
    }
    else {
      Environment environment = getEnvironment(event);
      if (environment != null) {
        override = new RelaxedPropertyResolver(environment)
            .getProperty(SPRING_PROPERTY);
        if (override != null) {
          pidFile = new File(override);
        }
      }
View Full Code Here


    boolean relaxedNames = annotationAttributes.getBoolean("relaxedNames");
    boolean matchIfMissing = annotationAttributes.getBoolean("matchIfMissing");

    PropertyResolver resolver = context.getEnvironment();
    if (relaxedNames) {
      resolver = new RelaxedPropertyResolver(resolver, prefix);
    }

    List<String> missingProperties = new ArrayList<String>();
    List<String> nonMatchingProperties = new ArrayList<String>();
    for (String name : names) {
View Full Code Here

TOP

Related Classes of org.springframework.boot.bind.RelaxedPropertyResolver

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.