Search in sources :

Example 1 with MonitoringServiceConfig

use of com.sun.appserv.management.config.MonitoringServiceConfig in project Payara by payara.

the class ModuleMonitoringLevelsConfigTest method testCreateRemove.

public void testCreateRemove() {
    ModuleMonitoringLevelsConfig existing = getModuleMonitoringLevelsConfig();
    final MonitoringServiceConfig mon = getConfigConfig().getMonitoringServiceConfig();
    mon.removeModuleMonitoringLevelsConfig();
    final ModuleMonitoringLevelsConfig newMM = mon.createModuleMonitoringLevelsConfig(null);
}
Also used : MonitoringServiceConfig(com.sun.appserv.management.config.MonitoringServiceConfig) ModuleMonitoringLevelsConfig(com.sun.appserv.management.config.ModuleMonitoringLevelsConfig)

Aggregations

ModuleMonitoringLevelsConfig (com.sun.appserv.management.config.ModuleMonitoringLevelsConfig)1 MonitoringServiceConfig (com.sun.appserv.management.config.MonitoringServiceConfig)1