Package ratpack.util.internal

Examples of ratpack.util.internal.TypeCoercingProperties.asByteSource()


   */
  public LaunchConfig build() throws ConfigurationException {
    TypeCoercingProperties props = LaunchConfigsInternal.consolidatePropertiesFromGlobalProperties(workingDir, classLoader, overrideProperties, defaultProperties);
    if (configurationSource == null) {
      if (byteSource == null) {
        byteSource = props.asByteSource(LaunchConfigs.Property.CONFIGURATION_FILE);
      }
      configurationSource = new DefaultConfigurationSource(classLoader, byteSource, overrideProperties, defaultProperties);
    }
    ConfigurationFactoryFactory configurationFactoryFactory = new DefaultConfigurationFactoryFactory(classLoader);
    ConfigurationFactory configurationFactory = configurationFactoryFactory.build(configurationSource);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.