Package | Description |
---|---|
net.bytebuddy.agent |
The Byte Buddy agent allows the redefinition of classes at runtime.
|
Modifier and Type | Method and Description |
---|---|
static void |
ByteBuddyAgent.attach(File agentJar,
ByteBuddyAgent.ProcessProvider processProvider,
String argument)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attach(File agentJar,
ByteBuddyAgent.ProcessProvider processProvider,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attach(File agentJar,
String processId,
String argument)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attach(File agentJar,
String processId,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(File agentLibrary,
ByteBuddyAgent.ProcessProvider processProvider,
String argument)
Attaches the given agent library on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(File agentLibrary,
ByteBuddyAgent.ProcessProvider processProvider,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent library on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(File agentLibrary,
String processId,
String argument)
Attaches the given agent library on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(File agentLibrary,
String processId,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent library on the target process which must be a virtual machine process.
|
protected static void |
Attacher.install(Class<?> virtualMachineType,
String processId,
String agent,
boolean isNative,
String argument)
Installs a Java agent on a target VM.
|
protected void |
VirtualMachine.ForHotSpot.load(String file,
boolean absolute,
String argument)
Loads an agent by the given command.
|
void |
VirtualMachine.loadAgent(String jarFile,
String argument)
Loads an agent into the represented virtual machine.
|
void |
VirtualMachine.ForHotSpot.loadAgent(String jarFile,
String argument)
Loads an agent into the represented virtual machine.
|
void |
VirtualMachine.loadAgentLibrary(String library,
String argument)
Loads a native agent library into the represented virtual machine.
|
void |
VirtualMachine.ForHotSpot.loadAgentLibrary(String library,
String argument)
Loads a native agent library into the represented virtual machine.
|
void |
VirtualMachine.loadAgentPath(String path,
String argument)
Loads a native agent into the represented virtual machine.
|
void |
VirtualMachine.ForHotSpot.loadAgentPath(String path,
String argument)
Loads a native agent into the represented virtual machine.
|
static ByteBuddyAgent.AttachmentProvider.Accessor |
ByteBuddyAgent.AttachmentProvider.Accessor.Simple.of(ClassLoader classLoader,
File... classPath)
Creates an accessor by reading the process id from the JMX runtime bean and by attempting
to load the
com.sun.tools.attach.VirtualMachine class from the provided class loader. |
Copyright © 2014–2023. All rights reserved.