--- old/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/LogKeywords.java 2018-01-30 20:19:10.000000000 -0500 +++ /dev/null 2018-01-30 20:19:10.000000000 -0500 @@ -1,97 +0,0 @@ -/* - * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -package com.sun.corba.se.impl.orbutil; -/** - * All the Keywords that will be used in Logging Messages for CORBA need to - * be defined here. The LogKeywords will be useful for searching log messages - * based on the standard keywords, it is also useful to work with LogAnalyzing - * tools. - * We will try to standardize these keywords in JSR 117 Logging - */ -public class LogKeywords { - - /** - ** Keywords for Lifecycle Loggers. - ** _REVISIT_ After it is clearly defined in JSR 117 - **/ - public final static String LIFECYCLE_CREATE = "<>"; - public final static String LIFECYCLE_INITIALIZE = "<>"; - public final static String LIFECYCLE_SHUTDOWN = "<>"; - public final static String LIFECYCLE_DESTROY = "<>"; - - - public final static String LIFECYCLE_CREATE_SUCCESS = - LIFECYCLE_CREATE + "<>"; - public final static String LIFECYCLE_CREATE_FAILURE = - LIFECYCLE_CREATE + "<>"; - public final static String LIFECYCLE_INITIALIZE_SUCCESS = - LIFECYCLE_INITIALIZE + "<>"; - public final static String LIFECYCLE_INITIALIZE_FAILURE = - LIFECYCLE_INITIALIZE + "<>"; - public final static String LIFECYCLE_SHUTDOWN_SUCCESS = - LIFECYCLE_SHUTDOWN + "<>"; - public final static String LIFECYCLE_SHUTDOWN_FAILURE = - LIFECYCLE_SHUTDOWN + "<>"; - public final static String LIFECYCLE_DESTROY_SUCCESS = - LIFECYCLE_DESTROY + "<>"; - public final static String LIFECYCLE_DESTROY_FAILURE = - LIFECYCLE_DESTROY + "<>"; - - /** - ** Keywords for Naming Read Loggers. - **/ - public final static String NAMING_RESOLVE = "<>"; - public final static String NAMING_LIST = "<>"; - - public final static String NAMING_RESOLVE_SUCCESS = - NAMING_RESOLVE + "<>"; - public final static String NAMING_RESOLVE_FAILURE = - NAMING_RESOLVE + "<>"; - public final static String NAMING_LIST_SUCCESS = - NAMING_LIST + "<>"; - public final static String NAMING_LIST_FAILURE = - NAMING_LIST + "<>"; - - /** - ** Keywords for Naming Update Loggers. - **/ - public final static String NAMING_BIND = "<>"; - public final static String NAMING_UNBIND = "<>"; - public final static String NAMING_REBIND = "<>"; - - public final static String NAMING_BIND_SUCCESS = - NAMING_BIND + "<>"; - public final static String NAMING_BIND_FAILURE = - NAMING_BIND + "<>"; - public final static String NAMING_UNBIND_SUCCESS = - NAMING_UNBIND + "<>"; - public final static String NAMING_UNBIND_FAILURE = - NAMING_UNBIND + "<>"; - public final static String NAMING_REBIND_SUCCESS = - NAMING_REBIND + "<>"; - public final static String NAMING_REBIND_FAILURE = - NAMING_REBIND + "<>"; -}