Package net.glowstone.util
Class ClassPathAgent
java.lang.Object
net.glowstone.util.ClassPathAgent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addJarFile
(JarFile file) Adds a JAR file to the system class loader.static void
agentmain
(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.
-