Package com.microstrategy.utils
Class MSTRJMXManager
- java.lang.Object
-
- com.microstrategy.utils.MSTRJMXManager
-
public class MSTRJMXManager extends java.lang.Object
MicroStrategy Java SDK supports Java Management Extensions (JMX).
New MicroStrategy
MBean
must be pre-registered ininit()
.To enable JMX for MicroStrategy
MBean
the JVM must be configured with the System property "-Dmstr.jmx". Note that any of the following is also valid -Dmstr.jmx=1 -Dmstr.jmx=true -Dmstr.jmx=abc but the following will leave the feature disabled: -Dmstr.jmx=0 -Dmstr.jmx=falseJMX will still need to be enabled for the JVM. Here are the System properties required to setup remote JMX access at port 7879:
-Dcom.sun.management.jmxremote.port=7879 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
Java
jconsole
(available in a JDK install) can then be used to connect to the server at the given port (in this case 7879).- See Also:
com.microstrategy.webapi.SystemInfo#isEnabled(String)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SYSTEM_PROPERTY_MSTR_JMX
Allows registration of all MicroStrategyMBean
instances.
-
Constructor Summary
Constructors Constructor Description MSTRJMXManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
get(java.lang.Class<?> mbean)
static void
init()
Register your MicroStrategyMBean
classes here with JMX.
-
-
-
Field Detail
-
SYSTEM_PROPERTY_MSTR_JMX
public static final java.lang.String SYSTEM_PROPERTY_MSTR_JMX
Allows registration of all MicroStrategyMBean
instances.- See Also:
- Constant Field Values
-
-