Package railo.runtime.engine

Examples of railo.runtime.engine.ExecutionLogFactory


  }
 


  private void doGetExecutionLog() throws PageException {
    ExecutionLogFactory factory = config.getExecutionLogFactory();
    Struct sct=new StructImpl();
   
    sct.set(KeyConstants._enabled, Caster.toBoolean(config.getExecutionLogEnabled()));
    Class clazz = factory.getClazz();
    sct.set(KeyConstants._class, clazz!=null?clazz.getName():"");
    sct.set(KeyConstants._arguments, factory.getArgumentsAsStruct());
   
    pageContext.setVariable(getString("admin",action,"returnVariable"),sct);
  }
View Full Code Here


      String strArgs = el.getAttribute("arguments");
      if (StringUtil.isEmpty(strArgs))
        strArgs = el.getAttribute("class-arguments");
      Map<String, String> args = toArguments(strArgs, true);

      config.setExecutionLogFactory(new ExecutionLogFactory(clazz, args));
    }
    else {
      if (hasServer)
        config.setExecutionLogFactory(configServer.getExecutionLogFactory());
      else
        config.setExecutionLogFactory(new ExecutionLogFactory(ConsoleExecutionLog.class, new HashMap<String, String>()));
    }
  }
View Full Code Here

TOP

Related Classes of railo.runtime.engine.ExecutionLogFactory

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.