KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > ext > logging > LogModuleNames


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23 package com.sun.appserv.management.ext.logging;
24
25 import java.util.Collections JavaDoc;
26 import java.util.Set JavaDoc;
27
28 import com.sun.appserv.management.util.misc.GSetUtil;
29
30 /**
31     Names of log level modules.
32     @see Logging
33     @since AppServer 9.0
34  */

35 public class LogModuleNames
36 {
37     protected LogModuleNames() {}
38     
39     public static final String JavaDoc ROOT_KEY = "Root";
40     public static final String JavaDoc SERVER_KEY = "Server";
41     public static final String JavaDoc EJB_CONTAINER_KEY = "EJBContainer";
42     public static final String JavaDoc CMP_CONTAINER_KEY = "CMPContainer";
43     public static final String JavaDoc MDB_CONTAINER_KEY = "MDBContainer";
44     public static final String JavaDoc WEB_CONTAINER_KEY = "WebContainer";
45     public static final String JavaDoc CLASSLOADER_KEY = "Classloader";
46     public static final String JavaDoc CONFIGURATION_KEY = "Configuration";
47     public static final String JavaDoc NAMING_KEY = "Naming";
48     public static final String JavaDoc SECURITY_KEY = "Security";
49     public static final String JavaDoc JTS_KEY = "JTS";
50     public static final String JavaDoc JTA_KEY = "JTA";
51     public static final String JavaDoc ADMIN_KEY = "Admin";
52     public static final String JavaDoc DEPLOYMENT_KEY = "Deployment";
53     public static final String JavaDoc VERIFIER_KEY = "Verifier";
54     public static final String JavaDoc JAXR_KEY = "JAXR";
55     public static final String JavaDoc JAXRPC_KEY = "JAXRPC";
56     public static final String JavaDoc SAAJ_KEY = "SAAJ";
57     public static final String JavaDoc CORBA_KEY = "CORBA";
58     public static final String JavaDoc JAVAMAIL_KEY = "Javamail";
59     public static final String JavaDoc JMS_KEY = "JMS";
60     public static final String JavaDoc CONNECTOR_KEY = "Connector";
61     public static final String JavaDoc JDO_KEY = "JDO";
62     public static final String JavaDoc CMP_KEY = "CMP";
63     public static final String JavaDoc UTIL_KEY = "Util";
64     public static final String JavaDoc RESOURCE_ADAPTER_KEY = "ResourceAdapter";
65     public static final String JavaDoc SYNCHRONIZATION_KEY = "Synchronization";
66     public static final String JavaDoc NODE_AGENT_KEY = "NodeAgent";
67     
68     /**
69      */

70     public static final Set JavaDoc<String JavaDoc> ALL_NAMES =
71         Collections.unmodifiableSet( GSetUtil.newSet( new String JavaDoc[]
72         {
73             ROOT_KEY,
74             SERVER_KEY,
75             EJB_CONTAINER_KEY,
76             CMP_CONTAINER_KEY,
77             MDB_CONTAINER_KEY,
78             WEB_CONTAINER_KEY,
79             CLASSLOADER_KEY,
80             CONFIGURATION_KEY,
81             NAMING_KEY,
82             SECURITY_KEY,
83             JTS_KEY,
84             JTA_KEY,
85             ADMIN_KEY,
86             DEPLOYMENT_KEY,
87             VERIFIER_KEY,
88             JAXR_KEY,
89             JAXRPC_KEY,
90             SAAJ_KEY,
91             CORBA_KEY,
92             JAVAMAIL_KEY,
93             JMS_KEY,
94             CONNECTOR_KEY,
95             JDO_KEY,
96             CMP_KEY,
97             UTIL_KEY,
98             RESOURCE_ADAPTER_KEY,
99             SYNCHRONIZATION_KEY,
100             NODE_AGENT_KEY,
101         }));
102 }
103
104
Popular Tags