Package org.huihoo.workflow.rules.interpretor

Examples of org.huihoo.workflow.rules.interpretor.ScriptWrapper


  private void checkCompile()
  {
    Object[] scriptWrappers = wfses.values().toArray();
    for (int i = 0; i < scriptWrappers.length; i++)
    {
      ScriptWrapper scriptWrapper = (ScriptWrapper) scriptWrappers[i];
      ScriptCompilationContext ctxt = scriptWrapper.getServletEngineContext();
     
      // scriptWrapper also synchronizes on this when
      // it detects it has to do a reload
      synchronized (scriptWrapper)
      {
        try
        {
          ctxt.compile();
        }
        catch (FileNotFoundException ex)
        {
          ctxt.incrementRemoved();
        }
        catch (Throwable t)
        {
          scriptWrapper.getServletContext().log("Background compile failed", t);
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.rules.interpretor.ScriptWrapper

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.