Class VirtualMachine.AbstractBase

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • loadAgent

        public void loadAgent​(String jarFile)
                       throws IOException
        Loads an agent into the represented virtual machine.
        Specified by:
        loadAgent in interface VirtualMachine
        Parameters:
        jarFile - The jar file to attach.
        Throws:
        IOException - If an I/O exception occurs.
      • loadAgentPath

        public void loadAgentPath​(String path)
                           throws IOException
        Loads a native agent into the represented virtual machine.
        Specified by:
        loadAgentPath in interface VirtualMachine
        Parameters:
        path - The agent path.
        Throws:
        IOException - If an I/O exception occurs.
      • loadAgentLibrary

        public void loadAgentLibrary​(String library)
                              throws IOException
        Loads a native agent library into the represented virtual machine.
        Specified by:
        loadAgentLibrary in interface VirtualMachine
        Parameters:
        library - The agent library.
        Throws:
        IOException - If an I/O exception occurs.