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.tools.jdi;
27
28 import com.sun.jdi.connect.*;
29 import com.sun.jdi.VirtualMachine;
30 import com.sun.jdi.VirtualMachineManager;
31 import java.io.IOException;
32
33 /**
34 * VirtualMachineManager SPI
35 */
36 public interface VirtualMachineManagerService extends VirtualMachineManager {
37 /**
38 * Replaces the default connector.
39 *
40 * @return the default {@link LaunchingConnector}
41 * @throws java.lang.IllegalArgumentException if the given
42 * connector is not a member of the list returned by
43 * {@link #launchingConnectors}
44 *
45 * @param connector the new default connector
46 */
47 void setDefaultConnector(LaunchingConnector connector);
48
49 /**
50 * Adds a connector to the list of known connectors.
51 *
52 * @param connector the connector to be added
53 */
54 void addConnector(Connector connector);
55
56 /**
57 * Removes a connector from the list of known connectors.
58 *
59 * @param connector the connector to be removed
60 */
|
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.tools.jdi;
27
28 import com.sun.jdi.connect.*;
29 import com.sun.jdi.VirtualMachine;
30 import com.sun.jdi.VirtualMachineManager;
31 import java.io.IOException;
32
33 /**
34 * VirtualMachineManager SPI
35 */
36 public interface VirtualMachineManagerService extends VirtualMachineManager {
37 /**
38 * Replaces the default connector.
39 *
40 * @throws java.lang.IllegalArgumentException if the given
41 * connector is not a member of the list returned by
42 * {@link #launchingConnectors}
43 *
44 * @param connector the new default connector
45 */
46 void setDefaultConnector(LaunchingConnector connector);
47
48 /**
49 * Adds a connector to the list of known connectors.
50 *
51 * @param connector the connector to be added
52 */
53 void addConnector(Connector connector);
54
55 /**
56 * Removes a connector from the list of known connectors.
57 *
58 * @param connector the connector to be removed
59 */
|