static void |
ByteBuddyAgent.attach(java.io.File agentJar,
java.lang.String processId,
java.lang.String argument) |
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attach(java.io.File agentJar,
java.lang.String processId,
java.lang.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(java.io.File agentJar,
ByteBuddyAgent.ProcessProvider processProvider,
java.lang.String argument) |
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attach(java.io.File agentJar,
ByteBuddyAgent.ProcessProvider processProvider,
java.lang.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(java.io.File agentLibrary,
java.lang.String processId,
java.lang.String argument) |
Attaches the given agent library on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(java.io.File agentLibrary,
java.lang.String processId,
java.lang.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(java.io.File agentLibrary,
ByteBuddyAgent.ProcessProvider processProvider,
java.lang.String argument) |
Attaches the given agent library on the target process which must be a virtual machine process.
|
static void |
ByteBuddyAgent.attachNative(java.io.File agentLibrary,
ByteBuddyAgent.ProcessProvider processProvider,
java.lang.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(java.lang.Class<?> virtualMachineType,
java.lang.String processId,
java.lang.String agent,
boolean isNative,
java.lang.String argument) |
Installs a Java agent on a target VM.
|
private static void |
ByteBuddyAgent.install(ByteBuddyAgent.AttachmentProvider attachmentProvider,
java.lang.String processId,
java.lang.String argument,
ByteBuddyAgent.AgentProvider agentProvider,
boolean isNative) |
Installs a Java agent on a target VM.
|
private static void |
ByteBuddyAgent.installExternal(ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment externalAttachment,
java.lang.String processId,
java.io.File agent,
boolean isNative,
java.lang.String argument) |
Installs a Java agent to the current VM via an external process.
|
protected void |
VirtualMachine.ForHotSpot.load(java.lang.String file,
boolean absolute,
java.lang.String argument) |
Loads an agent by the given command.
|
void |
VirtualMachine.ForHotSpot.loadAgent(java.lang.String jarFile,
java.lang.String argument) |
Loads an agent into the represented virtual machine.
|
void |
VirtualMachine.loadAgent(java.lang.String jarFile,
java.lang.String argument) |
Loads an agent into the represented virtual machine.
|
void |
VirtualMachine.ForHotSpot.loadAgentLibrary(java.lang.String library,
java.lang.String argument) |
Loads a native agent library into the represented virtual machine.
|
void |
VirtualMachine.loadAgentLibrary(java.lang.String library,
java.lang.String argument) |
Loads a native agent library into the represented virtual machine.
|
void |
VirtualMachine.ForHotSpot.loadAgentPath(java.lang.String path,
java.lang.String argument) |
Loads a native agent into the represented virtual machine.
|
void |
VirtualMachine.loadAgentPath(java.lang.String path,
java.lang.String argument) |
Loads a native agent into the represented virtual machine.
|
static ByteBuddyAgent.AttachmentProvider.Accessor |
ByteBuddyAgent.AttachmentProvider.Accessor.Simple.of(java.lang.ClassLoader classLoader,
java.io.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.
|