corba/src/share/classes/com/sun/corba/se/spi/logging/CORBALogDomains.java
author ohair
Tue, 25 May 2010 15:52:11 -0700
changeset 5555 b2b5ed3f0d0d
parent 4 02bb8761fcce
child 13052 63c6c4c360e1
permissions -rw-r--r--
6943119: Rebrand source copyright notices Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     1
/*
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     2
 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02bb8761fcce Initial load
duke
parents:
diff changeset
     4
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
02bb8761fcce Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    10
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
02bb8761fcce Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02bb8761fcce Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02bb8761fcce Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
02bb8761fcce Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
02bb8761fcce Initial load
duke
parents:
diff changeset
    16
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
02bb8761fcce Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
02bb8761fcce Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02bb8761fcce Initial load
duke
parents:
diff changeset
    20
 *
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    23
 * questions.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    24
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    25
02bb8761fcce Initial load
duke
parents:
diff changeset
    26
package com.sun.corba.se.spi.logging ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    27
02bb8761fcce Initial load
duke
parents:
diff changeset
    28
/** Defines constants for all of the logging domains used in the ORB.
02bb8761fcce Initial load
duke
parents:
diff changeset
    29
 * Note that this is the suffix to the log domain.  The full domain is given by
02bb8761fcce Initial load
duke
parents:
diff changeset
    30
 * <code>javax.enterprise.resource.corba.{ORBId}.{Log domain}</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    31
 * where {ORBId} is the ORB ID of the ORB instance doing the logging.
02bb8761fcce Initial load
duke
parents:
diff changeset
    32
 * <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    33
 * The ORB implementation packages are mapped into these domains as follows:
02bb8761fcce Initial load
duke
parents:
diff changeset
    34
 * <ul>
02bb8761fcce Initial load
duke
parents:
diff changeset
    35
 * <li>activation: orbd.*
02bb8761fcce Initial load
duke
parents:
diff changeset
    36
 * <li>corba: rpc.presentation (CORBA API, typecode/any), oa.invocation (DII)
02bb8761fcce Initial load
duke
parents:
diff changeset
    37
 * <li>core: service context code in rpc.protocol (will eventually move to its own package)
02bb8761fcce Initial load
duke
parents:
diff changeset
    38
 * <li>dynamicany: rpc.presentation
02bb8761fcce Initial load
duke
parents:
diff changeset
    39
 * <li>encoding: rpc.encoding
02bb8761fcce Initial load
duke
parents:
diff changeset
    40
 * <li>iiop: rmiiop.delegate (ShutdownUtilDelegate needs to move somewhere)
02bb8761fcce Initial load
duke
parents:
diff changeset
    41
 * <li>interceptors: rpc.protocol
02bb8761fcce Initial load
duke
parents:
diff changeset
    42
 * <li>io: rpc.encoding
02bb8761fcce Initial load
duke
parents:
diff changeset
    43
 * <li>ior: oa.ior
02bb8761fcce Initial load
duke
parents:
diff changeset
    44
 * <li>javax: rmiiiop.delegate
02bb8761fcce Initial load
duke
parents:
diff changeset
    45
 * <li>logging: logging does not have a domain
02bb8761fcce Initial load
duke
parents:
diff changeset
    46
 * <li>naming: naming
02bb8761fcce Initial load
duke
parents:
diff changeset
    47
 * <li>oa: oa
02bb8761fcce Initial load
duke
parents:
diff changeset
    48
 * <li>orb: orb.lifecycle
02bb8761fcce Initial load
duke
parents:
diff changeset
    49
 * <li>orbutil: util
02bb8761fcce Initial load
duke
parents:
diff changeset
    50
 * <li>protocol: rpc.protocol
02bb8761fcce Initial load
duke
parents:
diff changeset
    51
 * <li>resolver: orb.resolver
02bb8761fcce Initial load
duke
parents:
diff changeset
    52
 * <li>transport: rpc.transport
02bb8761fcce Initial load
duke
parents:
diff changeset
    53
 * <li>txpoa: this will be removed in the future.
02bb8761fcce Initial load
duke
parents:
diff changeset
    54
 * <li>util: util
02bb8761fcce Initial load
duke
parents:
diff changeset
    55
 * </ul>
02bb8761fcce Initial load
duke
parents:
diff changeset
    56
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    57
public abstract class CORBALogDomains {
02bb8761fcce Initial load
duke
parents:
diff changeset
    58
    private CORBALogDomains() {}
02bb8761fcce Initial load
duke
parents:
diff changeset
    59
02bb8761fcce Initial load
duke
parents:
diff changeset
    60
    // Top level log domain for CORBA
02bb8761fcce Initial load
duke
parents:
diff changeset
    61
    public static String TOP_LEVEL_DOMAIN  = "javax.enterprise.resource.corba";
02bb8761fcce Initial load
duke
parents:
diff changeset
    62
02bb8761fcce Initial load
duke
parents:
diff changeset
    63
    public static final String RPC              = "rpc" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    64
02bb8761fcce Initial load
duke
parents:
diff changeset
    65
    /** Log domain for code directly implementing the CORBA API and
02bb8761fcce Initial load
duke
parents:
diff changeset
    66
     * the typecode/any machinery.
02bb8761fcce Initial load
duke
parents:
diff changeset
    67
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    68
    public static final String RPC_PRESENTATION = "rpc.presentation" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    69
02bb8761fcce Initial load
duke
parents:
diff changeset
    70
    /** Log domain for any sort of wire encoding used in marshalling
02bb8761fcce Initial load
duke
parents:
diff changeset
    71
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    72
    public static final String RPC_ENCODING = "rpc.encoding" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    73
02bb8761fcce Initial load
duke
parents:
diff changeset
    74
    /** Log domain for the code used to handle any kind of invocation
02bb8761fcce Initial load
duke
parents:
diff changeset
    75
     * protocol.  This includes client and server delegates, client and
02bb8761fcce Initial load
duke
parents:
diff changeset
    76
     * server request dispatchers, service contexts, portable interceptors,
02bb8761fcce Initial load
duke
parents:
diff changeset
    77
     * and the GIOP protocol (but not CDR representation of data).
02bb8761fcce Initial load
duke
parents:
diff changeset
    78
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    79
    public static final String RPC_PROTOCOL = "rpc.protocol" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    80
02bb8761fcce Initial load
duke
parents:
diff changeset
    81
    /** Log domain for low-level transport details, which are
02bb8761fcce Initial load
duke
parents:
diff changeset
    82
     * independent of encoding and presentation details.  This
02bb8761fcce Initial load
duke
parents:
diff changeset
    83
     * includes selectors, acceptors, connections, connection management,
02bb8761fcce Initial load
duke
parents:
diff changeset
    84
     * and any other transport management functions.
02bb8761fcce Initial load
duke
parents:
diff changeset
    85
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    86
    public static final String RPC_TRANSPORT = "rpc.transport" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    87
02bb8761fcce Initial load
duke
parents:
diff changeset
    88
    public static final String NAMING          = "naming" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    89
02bb8761fcce Initial load
duke
parents:
diff changeset
    90
    /** Log domain for naming context creation and destruction.
02bb8761fcce Initial load
duke
parents:
diff changeset
    91
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    92
    public static final String NAMING_LIFECYCLE = "naming.lifecycle" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    93
02bb8761fcce Initial load
duke
parents:
diff changeset
    94
    /** Log domain for name service lookup.
02bb8761fcce Initial load
duke
parents:
diff changeset
    95
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    96
    public static final String NAMING_READ = "naming.read" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    97
02bb8761fcce Initial load
duke
parents:
diff changeset
    98
    /** Log domain for name service bind, rebind, destroy, and other state
02bb8761fcce Initial load
duke
parents:
diff changeset
    99
     * change operations.
02bb8761fcce Initial load
duke
parents:
diff changeset
   100
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   101
    public static final String NAMING_UPDATE = "naming.update" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   102
02bb8761fcce Initial load
duke
parents:
diff changeset
   103
    public static final String ORBD         = "orbd" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   104
02bb8761fcce Initial load
duke
parents:
diff changeset
   105
    /** Log domain for the ORBD locator function, which forwards
02bb8761fcce Initial load
duke
parents:
diff changeset
   106
     * client requests to their current server incarnation.
02bb8761fcce Initial load
duke
parents:
diff changeset
   107
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   108
    public static final String ORBD_LOCATOR = "orbd.locator" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   109
02bb8761fcce Initial load
duke
parents:
diff changeset
   110
    /** Log domain for the ORBD activator function, which starts
02bb8761fcce Initial load
duke
parents:
diff changeset
   111
     * server instances on demand.
02bb8761fcce Initial load
duke
parents:
diff changeset
   112
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   113
    public static final String ORBD_ACTIVATOR = "orbd.activator" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   114
02bb8761fcce Initial load
duke
parents:
diff changeset
   115
    /** Log domain for the Implementation Repository.
02bb8761fcce Initial load
duke
parents:
diff changeset
   116
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   117
    public static final String ORBD_REPOSITORY = "orbd.repository" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   118
02bb8761fcce Initial load
duke
parents:
diff changeset
   119
    /** Log domain for the servertool utilitiy used to update the
02bb8761fcce Initial load
duke
parents:
diff changeset
   120
     * implementation repository.
02bb8761fcce Initial load
duke
parents:
diff changeset
   121
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   122
    public static final String ORBD_SERVERTOOL = "orbd.servertool" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   123
02bb8761fcce Initial load
duke
parents:
diff changeset
   124
    public static final String ORB          = "orb" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   125
02bb8761fcce Initial load
duke
parents:
diff changeset
   126
    /** Log domain for ORB initialization, configuration, startup,
02bb8761fcce Initial load
duke
parents:
diff changeset
   127
     * and shutdown.
02bb8761fcce Initial load
duke
parents:
diff changeset
   128
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   129
    public static final String ORB_LIFECYCLE = "orb.lifecycle" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   130
02bb8761fcce Initial load
duke
parents:
diff changeset
   131
    /** Log domain for ORB client side name resolution and supporting
02bb8761fcce Initial load
duke
parents:
diff changeset
   132
     * functions such as INS.
02bb8761fcce Initial load
duke
parents:
diff changeset
   133
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   134
    public static final String ORB_RESOLVER = "orb.resolver" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   135
02bb8761fcce Initial load
duke
parents:
diff changeset
   136
    public static final String OA           = "oa" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   137
02bb8761fcce Initial load
duke
parents:
diff changeset
   138
    /** Log domain for creation, destruction, and state change of
02bb8761fcce Initial load
duke
parents:
diff changeset
   139
     * Object Adapters and related classes (e.g. POAManager).
02bb8761fcce Initial load
duke
parents:
diff changeset
   140
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   141
    public static final String OA_LIFECYCLE = "oa.lifecycle" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   142
02bb8761fcce Initial load
duke
parents:
diff changeset
   143
    /** Log domain for all IOR related code.
02bb8761fcce Initial load
duke
parents:
diff changeset
   144
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   145
    public static final String OA_IOR = "oa.ior" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   146
02bb8761fcce Initial load
duke
parents:
diff changeset
   147
    /** Log domain for object adapter request dispatch.
02bb8761fcce Initial load
duke
parents:
diff changeset
   148
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   149
    public static final String OA_INVOCATION = "oa.invocation" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   150
02bb8761fcce Initial load
duke
parents:
diff changeset
   151
    public static final String RMIIIOP          = "rmiiiop" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   152
02bb8761fcce Initial load
duke
parents:
diff changeset
   153
    /** Log domain for the RMI-IIOP implementation in the Stub, Util, and
02bb8761fcce Initial load
duke
parents:
diff changeset
   154
     * PortableRemoteObject delegates.
02bb8761fcce Initial load
duke
parents:
diff changeset
   155
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   156
    public static final String RMIIIOP_DELEGATE = "rmiiiop.delegate" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   157
02bb8761fcce Initial load
duke
parents:
diff changeset
   158
    /** Log domain for utility classes.
02bb8761fcce Initial load
duke
parents:
diff changeset
   159
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   160
    public static final String UTIL = "util" ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   161
}