01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package com.sun.jdi;
11:
12: import java.io.IOException;
13: import java.util.List;
14:
15: import com.sun.jdi.connect.LaunchingConnector;
16: import com.sun.jdi.connect.spi.Connection;
17:
18: public interface VirtualMachineManager {
19: public List allConnectors();
20:
21: public List attachingConnectors();
22:
23: public List connectedVirtualMachines();
24:
25: public VirtualMachine createVirtualMachine(Connection connection)
26: throws IOException;
27:
28: public VirtualMachine createVirtualMachine(Connection connection,
29: Process process) throws IOException;
30:
31: public LaunchingConnector defaultConnector();
32:
33: public List launchingConnectors();
34:
35: public List listeningConnectors();
36:
37: public int majorInterfaceVersion();
38:
39: public int minorInterfaceVersion();
40: }
|