Package net.glowstone.util
Class ClassPathAgent
java.lang.Object
net.glowstone.util.ClassPathAgent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddJarFile(JarFile file) Adds a JAR file to the system class loader.static voidagentmain(String agentArgs, Instrumentation instrumentation)
-
Constructor Details
-
ClassPathAgent
public ClassPathAgent()
-
-
Method Details
-
agentmain
-
addJarFile
Adds a JAR file to the system class loader.- Parameters:
file- The JAR file to add to the class loader.
-