J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved. |
| 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of the GNU General Public License version 2 only, as |
| 7 | * published by the Free Software Foundation. Sun designates this |
| 8 | * particular file as subject to the "Classpath" exception as provided |
| 9 | * by Sun in the LICENSE file that accompanied this code. |
| 10 | * |
| 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 14 | * version 2 for more details (a copy is included in the LICENSE file that |
| 15 | * accompanied this code). |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License version |
| 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
| 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | * |
| 21 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
| 22 | * CA 95054 USA or visit www.sun.com if you need additional information or |
| 23 | * have any questions. |
| 24 | */ |
| 25 | |
| 26 | package com.sun.jmx.defaults; |
| 27 | |
| 28 | import java.util.logging.Logger; |
| 29 | |
| 30 | /** |
| 31 | * This contains the property list defined for this |
| 32 | * JMX implementation. |
| 33 | * |
| 34 | * |
| 35 | * @since 1.5 |
| 36 | */ |
| 37 | public class JmxProperties { |
| 38 | |
| 39 | // private constructor defined to "hide" the default public constructor |
| 40 | private JmxProperties() { |
| 41 | } |
| 42 | |
| 43 | // PUBLIC STATIC CONSTANTS |
| 44 | //------------------------ |
| 45 | |
| 46 | /** |
| 47 | * References the property that specifies the directory where |
| 48 | * the native libraries will be stored before the MLet Service |
| 49 | * loads them into memory. |
| 50 | * <p> |
| 51 | * Property Name: <B>jmx.mlet.library.dir</B> |
| 52 | */ |
| 53 | public static final String JMX_INITIAL_BUILDER = |
| 54 | "javax.management.builder.initial"; |
| 55 | |
| 56 | /** |
| 57 | * References the property that specifies the directory where |
| 58 | * the native libraries will be stored before the MLet Service |
| 59 | * loads them into memory. |
| 60 | * <p> |
| 61 | * Property Name: <B>jmx.mlet.library.dir</B> |
| 62 | */ |
| 63 | public static final String MLET_LIB_DIR = "jmx.mlet.library.dir"; |
| 64 | |
| 65 | /** |
| 66 | * References the property that specifies the full name of the JMX |
| 67 | * specification implemented by this product. |
| 68 | * <p> |
| 69 | * Property Name: <B>jmx.specification.name</B> |
| 70 | */ |
| 71 | public static final String JMX_SPEC_NAME = "jmx.specification.name"; |
| 72 | |
| 73 | /** |
| 74 | * References the property that specifies the version of the JMX |
| 75 | * specification implemented by this product. |
| 76 | * <p> |
| 77 | * Property Name: <B>jmx.specification.version</B> |
| 78 | */ |
| 79 | public static final String JMX_SPEC_VERSION = "jmx.specification.version"; |
| 80 | |
| 81 | /** |
| 82 | * References the property that specifies the vendor of the JMX |
| 83 | * specification implemented by this product. |
| 84 | * <p> |
| 85 | * Property Name: <B>jmx.specification.vendor</B> |
| 86 | */ |
| 87 | public static final String JMX_SPEC_VENDOR = "jmx.specification.vendor"; |
| 88 | |
| 89 | /** |
| 90 | * References the property that specifies the full name of this product |
| 91 | * implementing the JMX specification. |
| 92 | * <p> |
| 93 | * Property Name: <B>jmx.implementation.name</B> |
| 94 | */ |
| 95 | public static final String JMX_IMPL_NAME = "jmx.implementation.name"; |
| 96 | |
| 97 | /** |
| 98 | * References the property that specifies the name of the vendor of this |
| 99 | * product implementing the JMX specification. |
| 100 | * <p> |
| 101 | * Property Name: <B>jmx.implementation.vendor</B> |
| 102 | */ |
| 103 | public static final String JMX_IMPL_VENDOR = "jmx.implementation.vendor"; |
| 104 | |
| 105 | /** |
| 106 | * References the property that specifies the version of this product |
| 107 | * implementing the JMX specification. |
| 108 | * <p> |
| 109 | * Property Name: <B>jmx.implementation.version</B> |
| 110 | */ |
| 111 | public static final String JMX_IMPL_VERSION = "jmx.implementation.version"; |
| 112 | |
| 113 | /** |
| 114 | * Logger name for MBean Server information. |
| 115 | */ |
| 116 | public static final String MBEANSERVER_LOGGER_NAME = |
| 117 | "javax.management.mbeanserver"; |
| 118 | |
| 119 | /** |
| 120 | * Logger for MBean Server information. |
| 121 | */ |
| 122 | public static final Logger MBEANSERVER_LOGGER = |
| 123 | Logger.getLogger(MBEANSERVER_LOGGER_NAME); |
| 124 | |
| 125 | /** |
| 126 | * Logger name for MLet service information. |
| 127 | */ |
| 128 | public static final String MLET_LOGGER_NAME = |
| 129 | "javax.management.mlet"; |
| 130 | |
| 131 | /** |
| 132 | * Logger for MLet service information. |
| 133 | */ |
| 134 | public static final Logger MLET_LOGGER = |
| 135 | Logger.getLogger(MLET_LOGGER_NAME); |
| 136 | |
| 137 | /** |
| 138 | * Logger name for Monitor information. |
| 139 | */ |
| 140 | public static final String MONITOR_LOGGER_NAME = |
| 141 | "javax.management.monitor"; |
| 142 | |
| 143 | /** |
| 144 | * Logger for Monitor information. |
| 145 | */ |
| 146 | public static final Logger MONITOR_LOGGER = |
| 147 | Logger.getLogger(MONITOR_LOGGER_NAME); |
| 148 | |
| 149 | /** |
| 150 | * Logger name for Timer information. |
| 151 | */ |
| 152 | public static final String TIMER_LOGGER_NAME = |
| 153 | "javax.management.timer"; |
| 154 | |
| 155 | /** |
| 156 | * Logger for Timer information. |
| 157 | */ |
| 158 | public static final Logger TIMER_LOGGER = |
| 159 | Logger.getLogger(TIMER_LOGGER_NAME); |
| 160 | |
| 161 | /** |
| 162 | * Logger name for Event Management information. |
| 163 | */ |
| 164 | public static final String NOTIFICATION_LOGGER_NAME = |
| 165 | "javax.management.notification"; |
| 166 | |
| 167 | /** |
| 168 | * Logger for Event Management information. |
| 169 | */ |
| 170 | public static final Logger NOTIFICATION_LOGGER = |
| 171 | Logger.getLogger(NOTIFICATION_LOGGER_NAME); |
| 172 | |
| 173 | /** |
| 174 | * Logger name for Relation Service. |
| 175 | */ |
| 176 | public static final String RELATION_LOGGER_NAME = |
| 177 | "javax.management.relation"; |
| 178 | |
| 179 | /** |
| 180 | * Logger for Relation Service. |
| 181 | */ |
| 182 | public static final Logger RELATION_LOGGER = |
| 183 | Logger.getLogger(RELATION_LOGGER_NAME); |
| 184 | |
| 185 | /** |
| 186 | * Logger name for Model MBean. |
| 187 | */ |
| 188 | public static final String MODELMBEAN_LOGGER_NAME = |
| 189 | "javax.management.modelmbean"; |
| 190 | |
| 191 | /** |
| 192 | * Logger for Model MBean. |
| 193 | */ |
| 194 | public static final Logger MODELMBEAN_LOGGER = |
| 195 | Logger.getLogger(MODELMBEAN_LOGGER_NAME); |
| 196 | |
| 197 | /** |
| 198 | * Logger name for all other JMX classes. |
| 199 | */ |
| 200 | public static final String MISC_LOGGER_NAME = |
| 201 | "javax.management.misc"; |
| 202 | |
| 203 | /** |
| 204 | * Logger for all other JMX classes. |
| 205 | */ |
| 206 | public static final Logger MISC_LOGGER = |
| 207 | Logger.getLogger(MISC_LOGGER_NAME); |
| 208 | |
| 209 | /** |
| 210 | * Logger name for SNMP. |
| 211 | */ |
| 212 | public static final String SNMP_LOGGER_NAME = |
| 213 | "javax.management.snmp"; |
| 214 | |
| 215 | /** |
| 216 | * Logger for SNMP. |
| 217 | */ |
| 218 | public static final Logger SNMP_LOGGER = |
| 219 | Logger.getLogger(SNMP_LOGGER_NAME); |
| 220 | |
| 221 | /** |
| 222 | * Logger name for SNMP Adaptor. |
| 223 | */ |
| 224 | public static final String SNMP_ADAPTOR_LOGGER_NAME = |
| 225 | "javax.management.snmp.daemon"; |
| 226 | |
| 227 | /** |
| 228 | * Logger for SNMP Adaptor. |
| 229 | */ |
| 230 | public static final Logger SNMP_ADAPTOR_LOGGER = |
| 231 | Logger.getLogger(SNMP_ADAPTOR_LOGGER_NAME); |
| 232 | } |