KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 2007 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.util.List JavaDoc;
15 import java.util.Map JavaDoc;
16
17 import com.sun.jdi.event.EventQueue;
18 import com.sun.jdi.request.EventRequestManager;
19
20 public interface VirtualMachine extends Mirror {
21     public static final int TRACE_NONE = 0;
22     public static final int TRACE_SENDS = 1;
23     public static final int TRACE_RECEIVES = 2;
24     public static final int TRACE_EVENTS = 4;
25     public static final int TRACE_REFTYPES = 8;
26     public static final int TRACE_OBJREFS = 16;
27     public static final int TRACE_ALL = 16777215;
28     public List JavaDoc allClasses();
29     public List JavaDoc allThreads();
30     public boolean canAddMethod();
31     public boolean canBeModified();
32     public boolean canGetBytecodes();
33     public boolean canGetCurrentContendedMonitor();
34     public boolean canGetMonitorInfo();
35     public boolean canGetOwnedMonitorInfo();
36     public boolean canGetSourceDebugExtension();
37     public boolean canGetSyntheticAttribute();
38     public boolean canPopFrames();
39     public boolean canRedefineClasses();
40     public boolean canRequestVMDeathEvent();
41     public boolean canUnrestrictedlyRedefineClasses();
42     public boolean canUseInstanceFilters();
43     public boolean canWatchFieldAccess();
44     public boolean canWatchFieldModification();
45     public List JavaDoc classesByName(String JavaDoc arg1);
46     public String JavaDoc description();
47     public void dispose();
48     public EventQueue eventQueue();
49     public EventRequestManager eventRequestManager();
50     public void exit(int arg1);
51     public String JavaDoc getDefaultStratum();
52     public BooleanValue mirrorOf(boolean arg1);
53     public ByteValue mirrorOf(byte arg1);
54     public CharValue mirrorOf(char arg1);
55     public DoubleValue mirrorOf(double arg1);
56     public FloatValue mirrorOf(float arg1);
57     public IntegerValue mirrorOf(int arg1);
58     public LongValue mirrorOf(long arg1);
59     public StringReference mirrorOf(String JavaDoc arg1);
60     public ShortValue mirrorOf(short arg1);
61     public String JavaDoc name();
62     public Process JavaDoc process();
63     public void redefineClasses(Map JavaDoc arg1);
64     public void resume();
65     public void setDebugTraceMode(int arg1);
66     public void setDefaultStratum(String JavaDoc arg1);
67     public void suspend();
68     public List JavaDoc topLevelThreadGroups();
69     public String JavaDoc version();
70     public boolean canGetInstanceInfo();
71     public long[] instanceCounts(List JavaDoc arg1);
72     public boolean canGetClassFileVersion();
73     public boolean canGetConstantPool();
74     public boolean canUseSourceNameFilters();
75     public boolean canGetMethodReturnValues();
76     public boolean canForceEarlyReturn();
77     public boolean canRequestMonitorEvents();
78     public boolean canGetMonitorFrameInfo();
79     public VoidValue mirrorOfVoid();
80 }
81
Popular Tags