java.lang.Object | |
↳ | com.microstrategy.utils.MSTRJMXManager |
MicroStrategy Java SDK supports Java Management Extensions (JMX).
New MicroStrategy MBean
must be pre-registered in
init()
.
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=false
JMX 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).
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | SYSTEM_PROPERTY_MSTR_JMX | Allows registration of all MicroStrategy MBean instances. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MSTRJMXManager() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static Object | get(Class<?> mbean) | ||||||||||
static void |
init()
Register your MicroStrategy
MBean classes here with JMX. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Allows registration of all MicroStrategy MBean
instances.
mbean | class of the MBean |
---|
Register your MicroStrategy MBean
classes here with JMX.