alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (LogKeywords.java)

This example Java source code file (LogKeywords.java) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

failure, lifecycle, lifecycle_create, lifecycle_destroy, lifecycle_initialize, lifecycle_shutdown, naming, naming_bind, naming_list, naming_rebind, naming_resolve, naming_unbind, string, success

The LogKeywords.java Java example source code

/*
 * 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 + "<";
}

Other Java examples (source code examples)

Here is a short list of links related to this Java LogKeywords.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.