Class JtRun

java.lang.Object
org.noear.solon.luffy.impl.JtRun

public class JtRun extends Object
Since:
1.3
Author:
noear
  • Constructor Details

    • JtRun

      public JtRun()
  • Method Details

    • init

      public static void init()
    • getResourceLoader

      public static JtFunctionLoaderManager getResourceLoader()
      获取资源加载器(可以清空并替换为数据库的)
    • fileGet

      public static org.noear.luffy.model.AFileModel fileGet(String path) throws Exception
      Throws:
      Exception
    • dele

      public static void dele(String path) throws Exception
      删除缓存
      Throws:
      Exception
    • call

      public static Object call(String path) throws Exception
      调用函数
      Throws:
      Exception
    • call

      public static Object call(String path, org.noear.solon.core.handle.Context ctx) throws Exception
      调用函数
      Throws:
      Exception
    • exec

      public static void exec(String path) throws Exception
      执行函数
      Throws:
      Exception
    • exec

      public static void exec(String path, org.noear.solon.core.handle.Context ctx) throws Exception
      执行函数
      Throws:
      Exception
    • execCode

      public static void execCode(String code) throws Exception
      执行代码
      Throws:
      Exception
    • execFile

      public static void execFile(org.noear.luffy.model.AFileModel file) throws Exception
      执行文件
      Throws:
      Exception
    • xfunInit

      public static void xfunInit()