Package l2p.extensions.scripts.Compiler

Examples of l2p.extensions.scripts.Compiler.MemoryClassLoader.loadClass()


          {
            continue;
          } // пропускаем вложенные классы
          try
          {
            c = classLoader.loadClass(name);
            Script s = new Script(c);
            _classes.put(name, s);
          }
          catch(ClassNotFoundException e)
          {
View Full Code Here


        {
          continue;
        } // пропускаем вложенные классы
        try
        {
          c = classLoader.loadClass(name);
          Script s = new Script(c);
          ScriptObject oldSo = GameServer.scriptsObjects.remove(name);
          if(oldSo != null)
          {
            oldSo.invokeMethod("onReload");
View Full Code Here

    if(Compiler.getInstance().compile(new File(Config.DATAPACK_ROOT, "data/scripts/" + name.replace(".", "/") + ".java"), System.out))
    {
      MemoryClassLoader classLoader = Compiler.getInstance().classLoader;
      try
      {
        Class<?> c = classLoader.loadClass(name);
        Script s = new Script(c);
        ScriptObject oldSo = GameServer.scriptsObjects.remove(name);
        if(oldSo != null)
        {
          oldSo.invokeMethod("onReload");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.