Registers an MBean.
Syntax
JMX_CREATE_MBEAN CLASSNAME=... [, NAME=...] [, LOADERNAME=...] [EXISTS=...]
Syntax |
Description/Format |
---|---|
CLASSNAME= |
The class name of the MBean. |
NAME= |
The name that should be used for MBean registration. This parameter does not have to be indicated when the MBeanRegistration Interface is implemented in the MBean. |
LOADERNAME= |
The name of the loadingclass. By default, the Default Loader Repository is used for loading the MBean. |
EXISTS= |
The handling of the AE job when the MBean has already been registered. Allowed values: "IGNORE" and "ABORT" (default values) "IGNORE" - The script of the JMX job continues. |
Comments
This script element creates an instance of the indicated class and registers it in the MBean Server with the object name. The parameter LOADERNAME= can contain an object name of a loading class which should be used to load the indicated class.
Example
JMX_CREATE_MBEAN CLASSNAME=com.uc4.mbeans.DatabaseExample, NAME=UC4:type=DatabaseExample
See also: