1/*
2 * Copyright (c) 1999, 2017, Oracle and/or its affiliates. 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.  Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26package com.sun.jmx.defaults;
27
28import java.lang.System.Logger;
29
30/**
31 * This contains the property list defined for this
32 * JMX implementation.
33 *
34 *
35 * @since 1.5
36 */
37public 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            System.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            System.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            System.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            System.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            System.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            System.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            System.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            System.getLogger(MISC_LOGGER_NAME);
208}
209