Class HloaderAgent
java.lang.Object
com.hloader.agent.HloaderAgent
Attached automatically before the target's own
main() runs, via
the Launcher-Agent-Class manifest attribute JarPatcher
writes into the patched jar (or manually via -javaagent, hence
premain(String, Instrumentation)). Because this runs as a JVM instrumentation agent rather
than a custom classloader, its ClassFileTransformer sees every
class loaded afterward by any classloader, including whatever the target
jar builds internally at runtime.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidagentmain(String agentArgs, Instrumentation instrumentation) static voidpremain(String agentArgs, Instrumentation instrumentation)
-
Method Details
-
agentmain
-
premain
-