public static class ByteBuddyAgent.Installer extends Object
Modifier and Type | Method and Description |
---|---|
static void |
agentmain(String agentArguments,
Instrumentation instrumentation)
Allows the installation of this agent via the Attach API.
|
static void |
premain(String agentArguments,
Instrumentation instrumentation)
Allows the installation of this agent via a command line argument.
|
public static void premain(String agentArguments, Instrumentation instrumentation)
agentArguments
- The unused agent arguments.instrumentation
- The instrumentation instance.public static void agentmain(String agentArguments, Instrumentation instrumentation)
agentArguments
- The unused agent arguments.instrumentation
- The instrumentation instance.Copyright © 2014–2015. All rights reserved.