KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jdi > VirtualMachineManager


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package com.sun.jdi;
12
13
14 import java.io.IOException JavaDoc;
15 import java.util.List JavaDoc;
16
17 import com.sun.jdi.connect.LaunchingConnector;
18 import com.sun.jdi.connect.spi.Connection;
19
20 public interface VirtualMachineManager {
21     public List JavaDoc allConnectors();
22     public List JavaDoc attachingConnectors();
23     public List JavaDoc connectedVirtualMachines();
24     public VirtualMachine createVirtualMachine(Connection connection) throws IOException JavaDoc;
25     public VirtualMachine createVirtualMachine(Connection connection, Process JavaDoc process) throws IOException JavaDoc;
26     public LaunchingConnector defaultConnector();
27     public List JavaDoc launchingConnectors();
28     public List JavaDoc listeningConnectors();
29     public int majorInterfaceVersion();
30     public int minorInterfaceVersion();
31 }
32
Popular Tags