Class VirtualMachine.AbstractBase

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • loadAgent

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

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

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