ManagedProfilerpublic class ManagedProfiler extends ConfigMBeanBase implements ConfigAttributeName.ProfilerThis Config MBean represents a Profiler element.
It extends ConfigMBeanBase class which provides get/set attribute(s) and getMBeanInfo services according to text descriptions.
ObjectName of this MBean is:
ias: type=auth-db, instance-name=, class=, server= name= |
Fields Summary |
---|
private static final String[] | MAPLISTMAPLIST array defines mapping between "external" name and its location in XML relatively base node | private static final String[] | ATTRIBUTESATTRIBUTES array specifies attributes descriptions in format defined for MBeanEasyConfig | private static final String[] | OPERATIONSOPERATIONS array specifies operations descriptions in format defined for MBeanEasyConfig |
Constructors Summary |
---|
public ManagedProfiler()Default constructor sets MBean description tables
this.setDescriptions(MAPLIST, ATTRIBUTES, OPERATIONS);
| public ManagedProfiler(String instanceName)Constructs Config MBean for Profiler.
this(); //set description tables
initialize(ObjectNames.kProfiler, new String[]{instanceName});
|
Methods Summary |
---|
public java.lang.String[] | getJvmOptions()This operation returns list of JvmOptions connected to this class.
Profiler profiler = (Profiler)getBaseConfigBean();
return profiler.getJvmOptions();
| public void | setJvmOptions(java.lang.String[] options)This operation returns list of JvmOptions connected to this class.
Profiler profiler = (Profiler)getBaseConfigBean();
profiler.setJvmOptions(options);
getConfigContext().flush();
|
|