public abstract static class VirtualMachine.AbstractBase extends Object implements VirtualMachine
VirtualMachine.AbstractBase, VirtualMachine.ForHotSpot, VirtualMachine.ForOpenJ9, VirtualMachine.Resolver| Constructor and Description |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
loadAgent(String jarFile)
Loads an agent into the represented virtual machine.
|
void |
loadAgentLibrary(String library)
Loads a native agent library into the represented virtual machine.
|
void |
loadAgentPath(String path)
Loads a native agent into the represented virtual machine.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getAgentProperties, getSystemProperties, loadAgent, loadAgentLibrary, loadAgentPath, startLocalManagementAgent, startManagementAgentpublic void loadAgent(String jarFile) throws IOException
loadAgent in interface VirtualMachinejarFile - The jar file to attach.IOException - If an I/O exception occurs.public void loadAgentPath(String path) throws IOException
loadAgentPath in interface VirtualMachinepath - The agent path.IOException - If an I/O exception occurs.public void loadAgentLibrary(String library) throws IOException
loadAgentLibrary in interface VirtualMachinelibrary - The agent library.IOException - If an I/O exception occurs.Copyright © 2014–2025. All rights reserved.