1. /*
  2. * @(#)CORBALogDomains.java 1.2 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.corba.se.spi.logging ;
  8. /** Defines constants for all of the logging domains used in the ORB.
  9. * Note that this is the suffix to the log domain. The full domain is given by
  10. * <code>javax.enterprise.resource.corba.{ORBId}.{Log domain}</code>
  11. * where {ORBId} is the ORB ID of the ORB instance doing the logging.
  12. * <P>
  13. * The ORB implementation packages are mapped into these domains as follows:
  14. * <ul>
  15. * <li>activation: orbd.*
  16. * <li>corba: rpc.presentation (CORBA API, typecode/any), oa.invocation (DII)
  17. * <li>core: service context code in rpc.protocol (will eventually move to its own package)
  18. * <li>dynamicany: rpc.presentation
  19. * <li>encoding: rpc.encoding
  20. * <li>iiop: rmiiop.delegate (ShutdownUtilDelegate needs to move somewhere)
  21. * <li>interceptors: rpc.protocol
  22. * <li>io: rpc.encoding
  23. * <li>ior: oa.ior
  24. * <li>javax: rmiiiop.delegate
  25. * <li>logging: logging does not have a domain
  26. * <li>naming: naming
  27. * <li>oa: oa
  28. * <li>orb: orb.lifecycle
  29. * <li>orbutil: util
  30. * <li>protocol: rpc.protocol
  31. * <li>resolver: orb.resolver
  32. * <li>transport: rpc.transport
  33. * <li>txpoa: this will be removed in the future.
  34. * <li>util: util
  35. * </ul>
  36. */
  37. public abstract class CORBALogDomains {
  38. private CORBALogDomains() {}
  39. // Top level log domain for CORBA
  40. public static String TOP_LEVEL_DOMAIN = "javax.enterprise.resource.corba";
  41. public static final String RPC = "rpc" ;
  42. /** Log domain for code directly implementing the CORBA API and
  43. * the typecode/any machinery.
  44. */
  45. public static final String RPC_PRESENTATION = "rpc.presentation" ;
  46. /** Log domain for any sort of wire encoding used in marshalling
  47. */
  48. public static final String RPC_ENCODING = "rpc.encoding" ;
  49. /** Log domain for the code used to handle any kind of invocation
  50. * protocol. This includes client and server delegates, client and
  51. * server request dispatchers, service contexts, portable interceptors,
  52. * and the GIOP protocol (but not CDR representation of data).
  53. */
  54. public static final String RPC_PROTOCOL = "rpc.protocol" ;
  55. /** Log domain for low-level transport details, which are
  56. * independent of encoding and presentation details. This
  57. * includes selectors, acceptors, connections, connection management,
  58. * and any other transport management functions.
  59. */
  60. public static final String RPC_TRANSPORT = "rpc.transport" ;
  61. public static final String NAMING = "naming" ;
  62. /** Log domain for naming context creation and destruction.
  63. */
  64. public static final String NAMING_LIFECYCLE = "naming.lifecycle" ;
  65. /** Log domain for name service lookup.
  66. */
  67. public static final String NAMING_READ = "naming.read" ;
  68. /** Log domain for name service bind, rebind, destroy, and other state
  69. * change operations.
  70. */
  71. public static final String NAMING_UPDATE = "naming.update" ;
  72. public static final String ORBD = "orbd" ;
  73. /** Log domain for the ORBD locator function, which forwards
  74. * client requests to their current server incarnation.
  75. */
  76. public static final String ORBD_LOCATOR = "orbd.locator" ;
  77. /** Log domain for the ORBD activator function, which starts
  78. * server instances on demand.
  79. */
  80. public static final String ORBD_ACTIVATOR = "orbd.activator" ;
  81. /** Log domain for the Implementation Repository.
  82. */
  83. public static final String ORBD_REPOSITORY = "orbd.repository" ;
  84. /** Log domain for the servertool utilitiy used to update the
  85. * implementation repository.
  86. */
  87. public static final String ORBD_SERVERTOOL = "orbd.servertool" ;
  88. public static final String ORB = "orb" ;
  89. /** Log domain for ORB initialization, configuration, startup,
  90. * and shutdown.
  91. */
  92. public static final String ORB_LIFECYCLE = "orb.lifecycle" ;
  93. /** Log domain for ORB client side name resolution and supporting
  94. * functions such as INS.
  95. */
  96. public static final String ORB_RESOLVER = "orb.resolver" ;
  97. public static final String OA = "oa" ;
  98. /** Log domain for creation, destruction, and state change of
  99. * Object Adapters and related classes (e.g. POAManager).
  100. */
  101. public static final String OA_LIFECYCLE = "oa.lifecycle" ;
  102. /** Log domain for all IOR related code.
  103. */
  104. public static final String OA_IOR = "oa.ior" ;
  105. /** Log domain for object adapter request dispatch.
  106. */
  107. public static final String OA_INVOCATION = "oa.invocation" ;
  108. public static final String RMIIIOP = "rmiiiop" ;
  109. /** Log domain for the RMI-IIOP implementation in the Stub, Util, and
  110. * PortableRemoteObject delegates.
  111. */
  112. public static final String RMIIIOP_DELEGATE = "rmiiiop.delegate" ;
  113. /** Log domain for utility classes.
  114. */
  115. public static final String UTIL = "util" ;
  116. }