KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > orbutil > LogKeywords


1 /*
2  * @(#)LogKeywords.java 1.3 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.impl.orbutil;
9 /**
10  * All the Keywords that will be used in Logging Messages for CORBA need to
11  * be defined here. The LogKeywords will be useful for searching log messages
12  * based on the standard keywords, it is also useful to work with LogAnalyzing
13  * tools.
14  * We will try to standardize these keywords in JSR 117 Logging
15  */

16 public class LogKeywords {
17
18     /**
19      ** Keywords for Lifecycle Loggers.
20      ** _REVISIT_ After it is clearly defined in JSR 117
21      **/

22     public final static String JavaDoc LIFECYCLE_CREATE = "<<LIFECYCLE CREATE>>";
23     public final static String JavaDoc LIFECYCLE_INITIALIZE = "<<LIFECYCLE INITIALIZE>>";
24     public final static String JavaDoc LIFECYCLE_SHUTDOWN = "<<LIFECYCLE SHUTDOWN>>";
25     public final static String JavaDoc LIFECYCLE_DESTROY = "<<LIFECYCLE DESTROY>>";
26
27
28     public final static String JavaDoc LIFECYCLE_CREATE_SUCCESS =
29         LIFECYCLE_CREATE + "<<SUCCESS>>";
30     public final static String JavaDoc LIFECYCLE_CREATE_FAILURE =
31         LIFECYCLE_CREATE + "<<FAILURE>>";
32     public final static String JavaDoc LIFECYCLE_INITIALIZE_SUCCESS =
33         LIFECYCLE_INITIALIZE + "<<SUCCESS>>";
34     public final static String JavaDoc LIFECYCLE_INITIALIZE_FAILURE =
35         LIFECYCLE_INITIALIZE + "<<FAILURE>>";
36     public final static String JavaDoc LIFECYCLE_SHUTDOWN_SUCCESS =
37         LIFECYCLE_SHUTDOWN + "<<SUCCESS>>";
38     public final static String JavaDoc LIFECYCLE_SHUTDOWN_FAILURE =
39         LIFECYCLE_SHUTDOWN + "<<FAILURE>>";
40     public final static String JavaDoc LIFECYCLE_DESTROY_SUCCESS =
41         LIFECYCLE_DESTROY + "<<SUCCESS>>";
42     public final static String JavaDoc LIFECYCLE_DESTROY_FAILURE =
43         LIFECYCLE_DESTROY + "<<FAILURE>>";
44
45     /**
46      ** Keywords for Naming Read Loggers.
47      **/

48     public final static String JavaDoc NAMING_RESOLVE = "<<NAMING RESOLVE>>";
49     public final static String JavaDoc NAMING_LIST = "<<NAMING LIST>>";
50
51     public final static String JavaDoc NAMING_RESOLVE_SUCCESS =
52         NAMING_RESOLVE + "<<SUCCESS>>";
53     public final static String JavaDoc NAMING_RESOLVE_FAILURE =
54         NAMING_RESOLVE + "<<FAILURE>>";
55     public final static String JavaDoc NAMING_LIST_SUCCESS =
56         NAMING_LIST + "<<SUCCESS>>";
57     public final static String JavaDoc NAMING_LIST_FAILURE =
58         NAMING_LIST + "<<FAILURE>>";
59
60     /**
61      ** Keywords for Naming Update Loggers.
62      **/

63     public final static String JavaDoc NAMING_BIND = "<<NAMING BIND>>";
64     public final static String JavaDoc NAMING_UNBIND = "<<NAMING UNBIND>>";
65     public final static String JavaDoc NAMING_REBIND = "<<NAMING REBIND>>";
66
67     public final static String JavaDoc NAMING_BIND_SUCCESS =
68         NAMING_BIND + "<<SUCCESS>>";
69     public final static String JavaDoc NAMING_BIND_FAILURE =
70         NAMING_BIND + "<<FAILURE>>";
71     public final static String JavaDoc NAMING_UNBIND_SUCCESS =
72         NAMING_UNBIND + "<<SUCCESS>>";
73     public final static String JavaDoc NAMING_UNBIND_FAILURE =
74         NAMING_UNBIND + "<<FAILURE>>";
75     public final static String JavaDoc NAMING_REBIND_SUCCESS =
76         NAMING_REBIND + "<<SUCCESS>>";
77     public final static String JavaDoc NAMING_REBIND_FAILURE =
78         NAMING_REBIND + "<<FAILURE>>";
79 }
80
81     
82     
83
84      
85
86
Popular Tags