01: /*
02: * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
04: *
05: * This code is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU General Public License version 2 only, as
07: * published by the Free Software Foundation. Sun designates this
08: * particular file as subject to the "Classpath" exception as provided
09: * by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22: * CA 95054 USA or visit www.sun.com if you need additional information or
23: * have any questions.
24: */
25:
26: package sun.management.snmp.jvmmib;
27:
28: //
29: // Generated by mibgen version 5.0 (06/02/03) when compiling JVM-MANAGEMENT-MIB.
30: //
31:
32: // java imports
33: //
34: import java.io.Serializable;
35: import java.util.Hashtable;
36:
37: // RI imports
38: //
39: import com.sun.jmx.snmp.Enumerated;
40:
41: /**
42: * The class is used for representing "JvmJITCompilerTimeMonitoring".
43: */
44: public class EnumJvmJITCompilerTimeMonitoring extends Enumerated
45: implements Serializable {
46:
47: protected static Hashtable<Integer, String> intTable = new Hashtable<Integer, String>();
48: protected static Hashtable<String, Integer> stringTable = new Hashtable<String, Integer>();
49: static {
50: intTable.put(new Integer(2), "supported");
51: intTable.put(new Integer(1), "unsupported");
52: stringTable.put("supported", new Integer(2));
53: stringTable.put("unsupported", new Integer(1));
54: }
55:
56: public EnumJvmJITCompilerTimeMonitoring(int valueIndex)
57: throws IllegalArgumentException {
58: super (valueIndex);
59: }
60:
61: public EnumJvmJITCompilerTimeMonitoring(Integer valueIndex)
62: throws IllegalArgumentException {
63: super (valueIndex);
64: }
65:
66: public EnumJvmJITCompilerTimeMonitoring()
67: throws IllegalArgumentException {
68: super ();
69: }
70:
71: public EnumJvmJITCompilerTimeMonitoring(String x)
72: throws IllegalArgumentException {
73: super (x);
74: }
75:
76: protected Hashtable getIntTable() {
77: return intTable;
78: }
79:
80: protected Hashtable getStringTable() {
81: return stringTable;
82: }
83:
84: }
|