Package ro.isdc.wro.config.factory

Examples of ro.isdc.wro.config.factory.ServletContextPropertyWroConfigurationFactory


   * Create the ContextLoader to use. Can be overridden in subclasses.
   *
   * @return the new ContextLoader
   */
  protected WroConfiguration newConfiguration() {
    return new ServletContextPropertyWroConfigurationFactory(servletContext).create();
  }
View Full Code Here


   */
  protected Properties newConfigProperties() {
    // default location is /WEB-INF/wro.properties
    final Properties props = new Properties();
    try {
      return new ServletContextPropertyWroConfigurationFactory(Context.get().getServletContext()).createProperties();
    } catch (final Exception e) {
      LOG.warn("No configuration property file found. Using default values.", e);
    }
    return props;
  }
View Full Code Here

TOP

Related Classes of ro.isdc.wro.config.factory.ServletContextPropertyWroConfigurationFactory

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.