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, wait
detach, getAgentProperties, getSystemProperties, loadAgent, loadAgentLibrary, loadAgentPath, startLocalManagementAgent, startManagementAgent
public void loadAgent(String jarFile) throws IOException
loadAgent
in interface VirtualMachine
jarFile
- The jar file to attach.IOException
- If an I/O exception occurs.public void loadAgentPath(String path) throws IOException
loadAgentPath
in interface VirtualMachine
path
- The agent path.IOException
- If an I/O exception occurs.public void loadAgentLibrary(String library) throws IOException
loadAgentLibrary
in interface VirtualMachine
library
- The agent library.IOException
- If an I/O exception occurs.Copyright © 2014–1970. All rights reserved.