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. package com.sun.jmx.trace;
  8. /**
  9. * Defines common trace constants.
  10. *
  11. * @since 1.5
  12. * @since.unbundled JMX RI 1.2
  13. */
  14. public interface TraceTags {
  15. /**
  16. * Log level used to notify of error conditions.
  17. */
  18. public static final int LEVEL_ERROR = 0;
  19. /**
  20. * Information level defined for trace level.
  21. * The information will be provided to help development of JMX applications.
  22. */
  23. public static final int LEVEL_TRACE = 1;
  24. /**
  25. * Information level defined for debug level.
  26. * The information will be provided to help diagnosis. Selecting this level
  27. * will result in selecting the LEVEL_TRACE too.
  28. */
  29. public static final int LEVEL_DEBUG = 2;
  30. /**
  31. * Information type defined for MBean Server information.
  32. */
  33. public static final int INFO_MBEANSERVER = 1;
  34. /**
  35. * Information type defined for MLet service information.
  36. */
  37. public static final int INFO_MLET = 2;
  38. /**
  39. * Information type defined for Monitor information.
  40. */
  41. public static final int INFO_MONITOR = 4;
  42. /**
  43. * Information type defined for Timer information.
  44. */
  45. public static final int INFO_TIMER = 8;
  46. /**
  47. * Information type defined for all other classes.
  48. */
  49. public static final int INFO_MISC = 16;
  50. /**
  51. * Information type defined for Event Management information.
  52. */
  53. public static final int INFO_NOTIFICATION = 32;
  54. /**
  55. * Information type defined for Relation Service.
  56. */
  57. public static final int INFO_RELATION = 64;
  58. /**
  59. * Information type defined for for Model MBean.
  60. */
  61. public static final int INFO_MODELMBEAN = 128;
  62. /**
  63. * Information type defined for for SNMP Adaptor.
  64. */
  65. public static final int INFO_ADAPTOR_SNMP = 256;
  66. /**
  67. * Information type defined for for SNMP.
  68. */
  69. public static final int INFO_SNMP = 512;
  70. }