< prev index next >

src/jdk.jdi/share/classes/com/sun/jdi/VirtualMachineManager.java

Print this page
rev 17275 : 8181417: Code cleanups in com.sun.jdi


   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.jdi;
  27 
  28 import com.sun.jdi.connect.*;
  29 import com.sun.jdi.connect.spi.Connection;
  30 import java.util.List;
  31 import java.io.IOException;







  32 
  33 /**
  34  * A manager of connections to target virtual machines. The
  35  * VirtualMachineManager allows one application to debug
  36  * multiple target VMs. (Note that the converse is not
  37  * supported; a target VM can be debugged by only one
  38  * debugger application.) This interface
  39  * contains methods to manage connections
  40  * to remote target VMs and to obtain the {@link VirtualMachine}
  41  * mirror for available target VMs.
  42  * <p>
  43  * Connections can be made using one of several different
  44  * {@link com.sun.jdi.connect.Connector} objects. Each connector encapsulates
  45  * a different way of connecting the debugger with a target VM.
  46  * <p>
  47  * The VirtualMachineManager supports many different scenarios for
  48  * connecting a debugger to a virtual machine. Four examples
  49  * are presented in the table below. The
  50  * examples use the command line syntax in Sun's implementation.
  51  * Some {@link com.sun.jdi.connect.Connector} implementations may require slightly




   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.jdi;
  27 



  28 import java.io.IOException;
  29 import java.util.List;
  30 
  31 import com.sun.jdi.connect.AttachingConnector;
  32 import com.sun.jdi.connect.Connector;
  33 import com.sun.jdi.connect.LaunchingConnector;
  34 import com.sun.jdi.connect.ListeningConnector;
  35 import com.sun.jdi.connect.spi.Connection;
  36 
  37 /**
  38  * A manager of connections to target virtual machines. The
  39  * VirtualMachineManager allows one application to debug
  40  * multiple target VMs. (Note that the converse is not
  41  * supported; a target VM can be debugged by only one
  42  * debugger application.) This interface
  43  * contains methods to manage connections
  44  * to remote target VMs and to obtain the {@link VirtualMachine}
  45  * mirror for available target VMs.
  46  * <p>
  47  * Connections can be made using one of several different
  48  * {@link com.sun.jdi.connect.Connector} objects. Each connector encapsulates
  49  * a different way of connecting the debugger with a target VM.
  50  * <p>
  51  * The VirtualMachineManager supports many different scenarios for
  52  * connecting a debugger to a virtual machine. Four examples
  53  * are presented in the table below. The
  54  * examples use the command line syntax in Sun's implementation.
  55  * Some {@link com.sun.jdi.connect.Connector} implementations may require slightly


< prev index next >