Package pro.gravit.launcher
Class LauncherAgent
- java.lang.Object
-
- pro.gravit.launcher.LauncherAgent
-
public final class LauncherAgent extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.instrument.Instrumentationinst
-
Constructor Summary
Constructors Constructor Description LauncherAgent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddJVMClassPath(java.lang.String path)static voidaddJVMClassPath(java.nio.file.Path path)static voidcheckAgentStacktrace()booleanisAgentStarted()static booleanisStarted()static voidpremain(java.lang.String agentArgument, java.lang.instrument.Instrumentation instrumentation)
-
-
-
Method Detail
-
addJVMClassPath
public static void addJVMClassPath(java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
addJVMClassPath
public static void addJVMClassPath(java.nio.file.Path path) throws java.io.IOException- Throws:
java.io.IOException
-
isAgentStarted
public boolean isAgentStarted()
-
premain
public static void premain(java.lang.String agentArgument, java.lang.instrument.Instrumentation instrumentation)
-
checkAgentStacktrace
public static void checkAgentStacktrace()
-
isStarted
public static boolean isStarted()
-
-