Package org.auto.web.resource

Examples of org.auto.web.resource.WebResourceScanMachine


    String dispatcherConfigLocation = config
        .getInitParameter(INIT_PARAMETER_CONFIG_LOCATION);
    if (StringUtils.isBlank(dispatcherConfigLocation)) {
      dispatcherConfigLocation = getDefaultDispatcherConfigLocation();
    }
    WebResourceScanMachine webResourceScanMachine = new WebResourceScanMachine(
        this.getServletContext());
    CometConfigMetadata cometConfig = new CometConfigMetadata();

    // 扫描将配置元数据放入cometConfig中
    webResourceScanMachine.scanLocations(dispatcherConfigLocation,
        new XmlConfigResourceHandler(cometConfig));

    return cometConfig;
  }
View Full Code Here

TOP

Related Classes of org.auto.web.resource.WebResourceScanMachine

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.