Java CAPS 管理和监视 API

配置服务

配置服务可用于:

表 4 配置服务方法名称和描述

API 方法名称 

描述 

getRuntimeLoggerLevels 

检索所有运行时记录程序及其级别。 

getRuntimeLoggerLevel 

查找某个运行时记录程序的级别。 

setRuntimeLoggerLevel 

设置给定运行时记录程序的日志级别。 

getComponentLoggerLevels 

检索组件自定义记录程序及其级别。 

setComponentLoggerLevel 

设置给定自定义记录程序的组件日志级别 

getComponentExtensionMBeanObjectNames 

检索扩展 MBean 对象名称。 

getComponentConfiguration 

检索组件配置。 

setComponentConfiguration 

设置组件配置。 

getRuntimeConfigurationMetaData 

返回与指定属性关联的运行时配置元数据。元数据包含名称-值对,例如,default、descriptionID、descriptorType、displayName、displayNameId、isStatic、name、resourceBundleName、tooltip、tooltipId,等等。 

setRuntimeConfiguration 

设置运行时配置。 

getRuntimeConfiguration 

检索运行时配置。 

getDefaultRuntimeConfiguration 

检索默认运行时配置。 

isServerRestartRequired 

检查是否需要重新启动服务器以应用对某些配置参数所做的更改。