KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > logging > CORBALogDomains


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
8 package com.sun.corba.se.spi.logging ;
9
10 /** Defines constants for all of the logging domains used in the ORB.
11  * Note that this is the suffix to the log domain. The full domain is given by
12  * <code>javax.enterprise.resource.corba.{ORBId}.{Log domain}</code>
13  * where {ORBId} is the ORB ID of the ORB instance doing the logging.
14  * <P>
15  * The ORB implementation packages are mapped into these domains as follows:
16  * <ul>
17  * <li>activation: orbd.*
18  * <li>corba: rpc.presentation (CORBA API, typecode/any), oa.invocation (DII)
19  * <li>core: service context code in rpc.protocol (will eventually move to its own package)
20  * <li>dynamicany: rpc.presentation
21  * <li>encoding: rpc.encoding
22  * <li>iiop: rmiiop.delegate (ShutdownUtilDelegate needs to move somewhere)
23  * <li>interceptors: rpc.protocol
24  * <li>io: rpc.encoding
25  * <li>ior: oa.ior
26  * <li>javax: rmiiiop.delegate
27  * <li>logging: logging does not have a domain
28  * <li>naming: naming
29  * <li>oa: oa
30  * <li>orb: orb.lifecycle
31  * <li>orbutil: util
32  * <li>protocol: rpc.protocol
33  * <li>resolver: orb.resolver
34  * <li>transport: rpc.transport
35  * <li>txpoa: this will be removed in the future.
36  * <li>util: util
37  * </ul>
38  */

39 public abstract class CORBALogDomains {
40     private CORBALogDomains() {}
41
42     // Top level log domain for CORBA
43
public static String JavaDoc TOP_LEVEL_DOMAIN = "javax.enterprise.resource.corba";
44
45     public static final String JavaDoc RPC = "rpc" ;
46
47     /** Log domain for code directly implementing the CORBA API and
48      * the typecode/any machinery.
49      */

50     public static final String JavaDoc RPC_PRESENTATION = "rpc.presentation" ;
51
52     /** Log domain for any sort of wire encoding used in marshalling
53      */

54     public static final String JavaDoc RPC_ENCODING = "rpc.encoding" ;
55
56     /** Log domain for the code used to handle any kind of invocation
57      * protocol. This includes client and server delegates, client and
58      * server request dispatchers, service contexts, portable interceptors,
59      * and the GIOP protocol (but not CDR representation of data).
60      */

61     public static final String JavaDoc RPC_PROTOCOL = "rpc.protocol" ;
62
63     /** Log domain for low-level transport details, which are
64      * independent of encoding and presentation details. This
65      * includes selectors, acceptors, connections, connection management,
66      * and any other transport management functions.
67      */

68     public static final String JavaDoc RPC_TRANSPORT = "rpc.transport" ;
69
70     public static final String JavaDoc NAMING = "naming" ;
71
72     /** Log domain for naming context creation and destruction.
73      */

74     public static final String JavaDoc NAMING_LIFECYCLE = "naming.lifecycle" ;
75
76     /** Log domain for name service lookup.
77      */

78     public static final String JavaDoc NAMING_READ = "naming.read" ;
79
80     /** Log domain for name service bind, rebind, destroy, and other state
81      * change operations.
82      */

83     public static final String JavaDoc NAMING_UPDATE = "naming.update" ;
84
85     public static final String JavaDoc ORBD = "orbd" ;
86
87     /** Log domain for the ORBD locator function, which forwards
88      * client requests to their current server incarnation.
89      */

90     public static final String JavaDoc ORBD_LOCATOR = "orbd.locator" ;
91
92     /** Log domain for the ORBD activator function, which starts
93      * server instances on demand.
94      */

95     public static final String JavaDoc ORBD_ACTIVATOR = "orbd.activator" ;
96
97     /** Log domain for the Implementation Repository.
98      */

99     public static final String JavaDoc ORBD_REPOSITORY = "orbd.repository" ;
100
101     /** Log domain for the servertool utilitiy used to update the
102      * implementation repository.
103      */

104     public static final String JavaDoc ORBD_SERVERTOOL = "orbd.servertool" ;
105
106     public static final String JavaDoc ORB = "orb" ;
107
108     /** Log domain for ORB initialization, configuration, startup,
109      * and shutdown.
110      */

111     public static final String JavaDoc ORB_LIFECYCLE = "orb.lifecycle" ;
112
113     /** Log domain for ORB client side name resolution and supporting
114      * functions such as INS.
115      */

116     public static final String JavaDoc ORB_RESOLVER = "orb.resolver" ;
117
118     public static final String JavaDoc OA = "oa" ;
119
120     /** Log domain for creation, destruction, and state change of
121      * Object Adapters and related classes (e.g. POAManager).
122      */

123     public static final String JavaDoc OA_LIFECYCLE = "oa.lifecycle" ;
124
125     /** Log domain for all IOR related code.
126      */

127     public static final String JavaDoc OA_IOR = "oa.ior" ;
128
129     /** Log domain for object adapter request dispatch.
130      */

131     public static final String JavaDoc OA_INVOCATION = "oa.invocation" ;
132
133     public static final String JavaDoc RMIIIOP = "rmiiiop" ;
134
135     /** Log domain for the RMI-IIOP implementation in the Stub, Util, and
136      * PortableRemoteObject delegates.
137      */

138     public static final String JavaDoc RMIIIOP_DELEGATE = "rmiiiop.delegate" ;
139
140     /** Log domain for utility classes.
141      */

142     public static final String JavaDoc UTIL = "util" ;
143 }
144
Popular Tags