Package it.eng.spago.configuration

Examples of it.eng.spago.configuration.FileCreatorConfiguration


   
    public void init(ServletConfig config) throws ServletException {
      super.init(config)
     
      String path = getServletConfig().getServletContext().getRealPath("/WEB-INF");
      ConfigSingleton.setConfigurationCreation( new FileCreatorConfiguration( path ) );
      ConfigSingleton.setRootPath( path );
      ConfigSingleton.setConfigFileName("/empty.xml");     
    }
View Full Code Here


   * @throws Exception the exception
   */
  public void testConfig() throws Exception{
    ConfigSingleton.setRootPath("C:\\progetti\\spagobi\\workspace\\SpagoBIProject\\web-content");
    ConfigSingleton.setConfigFileName("/WEB-INF/conf/master.xml");
    FileCreatorConfiguration fc=new FileCreatorConfiguration("C:\\progetti\\spagobi\\workspace\\SpagoBIProject\\web-content");
    ConfigSingleton.setConfigurationCreation(fc);
    SourceBean configSingleton = (SourceBean)ConfigSingleton.getInstance();
   

    SourceBean config = (SourceBean)configSingleton.getAttribute("LDAP_AUTHORIZATIONS.CONFIG");
View Full Code Here

TOP

Related Classes of it.eng.spago.configuration.FileCreatorConfiguration

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.