Class ClassPathAgent

java.lang.Object
net.glowstone.util.ClassPathAgent

public class ClassPathAgent extends Object
  • Constructor Details

    • ClassPathAgent

      public ClassPathAgent()
  • Method Details

    • agentmain

      public static void agentmain(String agentArgs, Instrumentation instrumentation)
    • addJarFile

      public static void addJarFile(JarFile file)
      Adds a JAR file to the system class loader.
      Parameters:
      file - The JAR file to add to the class loader.