JCL for JMX
The Job Control Language (JCL) provides various script elements for JMX and the corresponding supported data types.
The following data types are supported when values are assigned with script elements:
-
java.lang.String
-
java.lang.Integer
-
java.lang.Byte
-
java.lang.Float
-
java.lang.Double
-
java.lang.Short
-
java.lang.Long
-
java.lang.BigInteger
-
java.lang.Boolean
-
java.lang.BigDecimal
-
java.lang.Character
-
javax.management.openmbean.CompositeData
Use arrays or the following two complex data types for the return codes of the script elements:
-
javax.management.openmbean.CompositeData
-
javax.management.openmbean.TabularData
The results of the script elements are written to the report. Use PREP_PROCESS_REPORT to read the results.
Script Elements for JMX
JCL includes the following script elements for JMX:
-
Stores several values in one parameter name.
-
Creates an instance of the indicated class and registers it in the MBean Server with the object name.
-
Retrieves the agent ID either of the existing MBean server, or of running MBean servers.
-
Retrieves the value(s) of one or all the attribute(s) of an MBean.
-
Retrieves the values of all the attributes of an MBean.
-
Retrieves information about an MBean, which can include the description of the MBean and a list of its attributes, operations and notifications.
-
Calls a method of an MBean and assign parameters to it. If the MBean has more than one function, you can address a particular one.
-
Lists registered MBeans.
-
Sets an attribute of an MBean.
-
Removes an already registered MBean.
-
Waits to be notified by the MBean.
See also: