001: /*
002: * File : $Source: /usr/local/cvs/opencms/src/org/opencms/monitor/Messages.java,v $
003: * Date : $Date: 2008-02-27 12:05:49 $
004: * Version: $Revision: 1.11 $
005: *
006: * This library is part of OpenCms -
007: * the Open Source Content Management System
008: *
009: * Copyright (c) 2002 - 2008 Alkacon Software GmbH (http://www.alkacon.com)
010: *
011: * This library is free software; you can redistribute it and/or
012: * modify it under the terms of the GNU Lesser General Public
013: * License as published by the Free Software Foundation; either
014: * version 2.1 of the License, or (at your option) any later version.
015: *
016: * This library is distributed in the hope that it will be useful,
017: * but WITHOUT ANY WARRANTY; without even the implied warranty of
018: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
019: * Lesser General Public License for more details.
020: *
021: * For further information about Alkacon Software GmbH, please see the
022: * company website: http://www.alkacon.com
023: *
024: * For further information about OpenCms, please see the
025: * project website: http://www.opencms.org
026: *
027: * You should have received a copy of the GNU Lesser General Public
028: * License along with this library; if not, write to the Free Software
029: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
030: */
031:
032: package org.opencms.monitor;
033:
034: import org.opencms.i18n.A_CmsMessageBundle;
035: import org.opencms.i18n.I_CmsMessageBundle;
036:
037: /**
038: * Convenience class to access the localized messages of this OpenCms package.<p>
039: *
040: * @author Jan Baudisch
041: *
042: * @version $Revision: 1.11 $
043: *
044: * @since 6.0.0
045: */
046: public final class Messages extends A_CmsMessageBundle {
047:
048: /** Message constant for key in the resource bundle. */
049: public static final String LOG_CAUGHT_THROWABLE_1 = "LOG_CAUGHT_THROWABLE_1";
050:
051: /** Message constant for key in the resource bundle. */
052: public static final String LOG_CLEAR_CACHE_MEM_CONS_0 = "LOG_CLEAR_CACHE_MEM_CONS_0";
053:
054: /** Message constant for key in the resource bundle. */
055: public static final String LOG_MM_CONNECTIONS_3 = "LOG_MM_CONNECTIONS_3";
056:
057: /** Message constant for key in the resource bundle. */
058: public static final String LOG_MM_CREATED_1 = "LOG_MM_CREATED_1";
059:
060: /** Message constant for key in the resource bundle. */
061: public static final String LOG_MM_EMAIL_DISABLED_0 = "LOG_MM_EMAIL_DISABLED_0";
062:
063: /** Message constant for key in the resource bundle. */
064: public static final String LOG_MM_EMAIL_RECEIVER_2 = "LOG_MM_EMAIL_RECEIVER_2";
065:
066: /** Message constant for key in the resource bundle. */
067: public static final String LOG_MM_EMAIL_SENDER_1 = "LOG_MM_EMAIL_SENDER_1";
068:
069: /** Message constant for key in the resource bundle. */
070: public static final String LOG_MM_INTERVAL_EMAIL_1 = "LOG_MM_INTERVAL_EMAIL_1";
071:
072: /** Message constant for key in the resource bundle. */
073: public static final String LOG_MM_INTERVAL_LOG_1 = "LOG_MM_INTERVAL_LOG_1";
074:
075: /** Message constant for key in the resource bundle. */
076: public static final String LOG_MM_INTERVAL_MAX_USAGE_1 = "LOG_MM_INTERVAL_MAX_USAGE_1";
077:
078: /** Message constant for key in the resource bundle. */
079: public static final String LOG_MM_INTERVAL_WARNING_1 = "LOG_MM_INTERVAL_WARNING_1";
080:
081: /** Message constant for key in the resource bundle. */
082: public static final String LOG_MM_LOG_INFO_2 = "LOG_MM_LOG_INFO_2";
083:
084: /** Message constant for key in the resource bundle. */
085: public static final String LOG_MM_NOWARN_STATUS_5 = "LOG_MM_NOWARN_STATUS_5";
086:
087: /** Message constant for key in the resource bundle. */
088: public static final String LOG_MM_SESSION_STAT_3 = "LOG_MM_SESSION_STAT_3";
089:
090: /** Message constant for key in the resource bundle. */
091: public static final String LOG_MM_STARTUP_TIME_2 = "LOG_MM_STARTUP_TIME_2";
092:
093: /** Message constant for key in the resource bundle. */
094: public static final String LOG_MM_STATUS_EMAIL_SENT_0 = "LOG_MM_STATUS_EMAIL_SENT_0";
095:
096: /** Message constant for key in the resource bundle. */
097: public static final String LOG_MM_WARNING_EMAIL_SENT_0 = "LOG_MM_WARNING_EMAIL_SENT_0";
098:
099: /** Message constant for key in the resource bundle. */
100: public static final String LOG_MM_WARNING_MEM_CONSUME_2 = "LOG_MM_WARNING_MEM_CONSUME_2";
101:
102: /** Message constant for key in the resource bundle. */
103: public static final String LOG_MM_WARNING_MEM_STATUS_6 = "LOG_MM_WARNING_MEM_STATUS_6";
104:
105: /** Message constant for key in the resource bundle. */
106: public static final String LOG_MM_WARNING_MEM_STATUS_8 = "LOG_MM_WARNING_MEM_STATUS_8";
107:
108: /** Message constant for key in the resource bundle. */
109: public static final String LOG_MM_WARNING_MEM_STATUS_AVG_6 = "LOG_MM_WARNING_MEM_STATUS_AVG_6";
110:
111: /** Name of the used resource bundle. */
112: private static final String BUNDLE_NAME = "org.opencms.monitor.messages";
113:
114: /** Static instance member. */
115: private static final I_CmsMessageBundle INSTANCE = new Messages();
116:
117: /**
118: * Hides the public constructor for this utility class.<p>
119: */
120: private Messages() {
121:
122: // hide the constructor
123: }
124:
125: /**
126: * Returns an instance of this localized message accessor.<p>
127: *
128: * @return an instance of this localized message accessor
129: */
130: public static I_CmsMessageBundle get() {
131:
132: return INSTANCE;
133: }
134:
135: /**
136: * Returns the bundle name for this OpenCms package.<p>
137: *
138: * @return the bundle name for this OpenCms package
139: */
140: public String getBundleName() {
141:
142: return BUNDLE_NAME;
143: }
144: }
|