Package org.springframework.beans.factory.config

Examples of org.springframework.beans.factory.config.PropertiesFactoryBean


    pigTemplate = new PigTemplate(pigFactory.getObject());
  }

  private Properties loadProperties() throws Exception {
    if (StringUtils.hasText(propertiesLocation)) {
      PropertiesFactoryBean propsFactory = new PropertiesFactoryBean();
      propsFactory.setLocations(resourceResolver.getResources(propertiesLocation));
      propsFactory.afterPropertiesSet();
      return propsFactory.getObject();
    }

    return null;
  }
View Full Code Here

TOP

Related Classes of org.springframework.beans.factory.config.PropertiesFactoryBean

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.