0N/A/*
396N/A * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
157N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
157N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
157N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
157N/A * or visit www.oracle.com if you need additional information or have any
157N/A * questions.
0N/A */
0N/A
0N/Apackage com.sun.corba.se.spi.logging ;
0N/A
0N/A/** Defines constants for all of the logging domains used in the ORB.
0N/A * Note that this is the suffix to the log domain. The full domain is given by
0N/A * <code>javax.enterprise.resource.corba.{ORBId}.{Log domain}</code>
0N/A * where {ORBId} is the ORB ID of the ORB instance doing the logging.
0N/A * <P>
0N/A * The ORB implementation packages are mapped into these domains as follows:
0N/A * <ul>
0N/A * <li>activation: orbd.*
0N/A * <li>corba: rpc.presentation (CORBA API, typecode/any), oa.invocation (DII)
0N/A * <li>core: service context code in rpc.protocol (will eventually move to its own package)
0N/A * <li>dynamicany: rpc.presentation
0N/A * <li>encoding: rpc.encoding
0N/A * <li>iiop: rmiiop.delegate (ShutdownUtilDelegate needs to move somewhere)
0N/A * <li>interceptors: rpc.protocol
0N/A * <li>io: rpc.encoding
0N/A * <li>ior: oa.ior
0N/A * <li>javax: rmiiiop.delegate
0N/A * <li>logging: logging does not have a domain
0N/A * <li>naming: naming
0N/A * <li>oa: oa
0N/A * <li>orb: orb.lifecycle
0N/A * <li>orbutil: util
0N/A * <li>protocol: rpc.protocol
0N/A * <li>resolver: orb.resolver
0N/A * <li>transport: rpc.transport
0N/A * <li>txpoa: this will be removed in the future.
0N/A * <li>util: util
0N/A * </ul>
0N/A */
0N/Apublic abstract class CORBALogDomains {
0N/A private CORBALogDomains() {}
0N/A
0N/A // Top level log domain for CORBA
396N/A public static final String TOP_LEVEL_DOMAIN = "javax.enterprise.resource.corba";
0N/A
0N/A public static final String RPC = "rpc" ;
0N/A
0N/A /** Log domain for code directly implementing the CORBA API and
0N/A * the typecode/any machinery.
0N/A */
0N/A public static final String RPC_PRESENTATION = "rpc.presentation" ;
0N/A
0N/A /** Log domain for any sort of wire encoding used in marshalling
0N/A */
0N/A public static final String RPC_ENCODING = "rpc.encoding" ;
0N/A
0N/A /** Log domain for the code used to handle any kind of invocation
0N/A * protocol. This includes client and server delegates, client and
0N/A * server request dispatchers, service contexts, portable interceptors,
0N/A * and the GIOP protocol (but not CDR representation of data).
0N/A */
0N/A public static final String RPC_PROTOCOL = "rpc.protocol" ;
0N/A
0N/A /** Log domain for low-level transport details, which are
0N/A * independent of encoding and presentation details. This
0N/A * includes selectors, acceptors, connections, connection management,
0N/A * and any other transport management functions.
0N/A */
0N/A public static final String RPC_TRANSPORT = "rpc.transport" ;
0N/A
0N/A public static final String NAMING = "naming" ;
0N/A
0N/A /** Log domain for naming context creation and destruction.
0N/A */
0N/A public static final String NAMING_LIFECYCLE = "naming.lifecycle" ;
0N/A
0N/A /** Log domain for name service lookup.
0N/A */
0N/A public static final String NAMING_READ = "naming.read" ;
0N/A
0N/A /** Log domain for name service bind, rebind, destroy, and other state
0N/A * change operations.
0N/A */
0N/A public static final String NAMING_UPDATE = "naming.update" ;
0N/A
0N/A public static final String ORBD = "orbd" ;
0N/A
0N/A /** Log domain for the ORBD locator function, which forwards
0N/A * client requests to their current server incarnation.
0N/A */
0N/A public static final String ORBD_LOCATOR = "orbd.locator" ;
0N/A
0N/A /** Log domain for the ORBD activator function, which starts
0N/A * server instances on demand.
0N/A */
0N/A public static final String ORBD_ACTIVATOR = "orbd.activator" ;
0N/A
0N/A /** Log domain for the Implementation Repository.
0N/A */
0N/A public static final String ORBD_REPOSITORY = "orbd.repository" ;
0N/A
0N/A /** Log domain for the servertool utilitiy used to update the
0N/A * implementation repository.
0N/A */
0N/A public static final String ORBD_SERVERTOOL = "orbd.servertool" ;
0N/A
0N/A public static final String ORB = "orb" ;
0N/A
0N/A /** Log domain for ORB initialization, configuration, startup,
0N/A * and shutdown.
0N/A */
0N/A public static final String ORB_LIFECYCLE = "orb.lifecycle" ;
0N/A
0N/A /** Log domain for ORB client side name resolution and supporting
0N/A * functions such as INS.
0N/A */
0N/A public static final String ORB_RESOLVER = "orb.resolver" ;
0N/A
0N/A public static final String OA = "oa" ;
0N/A
0N/A /** Log domain for creation, destruction, and state change of
0N/A * Object Adapters and related classes (e.g. POAManager).
0N/A */
0N/A public static final String OA_LIFECYCLE = "oa.lifecycle" ;
0N/A
0N/A /** Log domain for all IOR related code.
0N/A */
0N/A public static final String OA_IOR = "oa.ior" ;
0N/A
0N/A /** Log domain for object adapter request dispatch.
0N/A */
0N/A public static final String OA_INVOCATION = "oa.invocation" ;
0N/A
0N/A public static final String RMIIIOP = "rmiiiop" ;
0N/A
0N/A /** Log domain for the RMI-IIOP implementation in the Stub, Util, and
0N/A * PortableRemoteObject delegates.
0N/A */
0N/A public static final String RMIIIOP_DELEGATE = "rmiiiop.delegate" ;
0N/A
0N/A /** Log domain for utility classes.
0N/A */
0N/A public static final String UTIL = "util" ;
0N/A}