KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jmx > trace > TraceTags


1 /*
2  * @(#)TraceTags.java 1.17 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.jmx.trace;
9
10 /**
11  * Defines common trace constants.
12  *
13  * @since 1.5
14  * @since.unbundled JMX RI 1.2
15  */

16 public interface TraceTags {
17
18     /**
19      * Log level used to notify of error conditions.
20      */

21     public static final int LEVEL_ERROR = 0;
22
23     /**
24      * Information level defined for trace level.
25      * The information will be provided to help development of JMX applications.
26      */

27     public static final int LEVEL_TRACE = 1;
28
29     /**
30      * Information level defined for debug level.
31      * The information will be provided to help diagnosis. Selecting this level
32      * will result in selecting the LEVEL_TRACE too.
33      */

34     public static final int LEVEL_DEBUG = 2;
35
36     /**
37      * Information type defined for MBean Server information.
38      */

39     public static final int INFO_MBEANSERVER = 1;
40
41     /**
42      * Information type defined for MLet service information.
43      */

44     public static final int INFO_MLET = 2;
45
46     /**
47      * Information type defined for Monitor information.
48      */

49     public static final int INFO_MONITOR = 4;
50
51     /**
52      * Information type defined for Timer information.
53      */

54     public static final int INFO_TIMER = 8;
55
56     /**
57      * Information type defined for all other classes.
58      */

59     public static final int INFO_MISC = 16;
60
61     /**
62      * Information type defined for Event Management information.
63      */

64     public static final int INFO_NOTIFICATION = 32;
65
66     /**
67      * Information type defined for Relation Service.
68      */

69     public static final int INFO_RELATION = 64;
70
71     /**
72      * Information type defined for for Model MBean.
73      */

74     public static final int INFO_MODELMBEAN = 128;
75
76     /**
77      * Information type defined for for SNMP Adaptor.
78      */

79     public static final int INFO_ADAPTOR_SNMP = 256;
80     
81     /**
82      * Information type defined for for SNMP.
83      */

84     public static final int INFO_SNMP = 512;
85     
86 }
87
Popular Tags