Package com.sun.appserv.management.config

Examples of com.sun.appserv.management.config.MonitoringServiceConfig


    public void
  testCreateRemove()
  {
      ModuleMonitoringLevelsConfig    existing    = getModuleMonitoringLevelsConfig();
     
      final MonitoringServiceConfig mon = getConfigConfig().getMonitoringServiceConfig();
      mon.removeModuleMonitoringLevelsConfig();
      final ModuleMonitoringLevelsConfig  newMM   =
          mon.createModuleMonitoringLevelsConfig( null );
     
      newMM.changeAll( "HIGH" );
  }
View Full Code Here


        @HandlerOutput(name="ThreadPool", type=String.class)})
       
        public static void getMonitoringServiceDefaultSettings(HandlerContext handlerCtx) {
       
        ConfigConfig config = AMXUtil.getConfig(((String)handlerCtx.getInputValue("ConfigName")));
        MonitoringServiceConfig mSConfig = config.getMonitoringServiceConfig();
  ModuleMonitoringLevelsConfig mConfig = mSConfig.getModuleMonitoringLevelsConfig();
        String jvm = mConfig.getDefaultValue("JVM");
        String http = mConfig.getDefaultValue("HTTPService");
        String transaction = mConfig.getDefaultValue("TransactionService");
        String jms = mConfig.getDefaultValue("JMSService");
        String orb = mConfig.getDefaultValue("ORB");
View Full Code Here

       
        public static void saveMonitoringServiceSettings(HandlerContext handlerCtx) {
       
        ConfigConfig config = AMXUtil.getConfig(((String)handlerCtx.getInputValue("ConfigName")));
        Map newProps = (Map)handlerCtx.getInputValue("newProps");
        MonitoringServiceConfig mSConfig = config.getMonitoringServiceConfig();
  ModuleMonitoringLevelsConfig mConfig = mSConfig.getModuleMonitoringLevelsConfig();
       
        AMXUtil.updateProperties(mConfig, newProps, null);
        
        mConfig.setJVM(((String)handlerCtx.getInputValue("Jvm")));
        mConfig.setHTTPService(((String)handlerCtx.getInputValue("Http")));
View Full Code Here

        @HandlerOutput(name="Properties", type=Map.class)})
       
        public static void getMonitoringServiceSettings(HandlerContext handlerCtx) {
       
        ConfigConfig config = AMXUtil.getConfig(((String)handlerCtx.getInputValue("ConfigName")));
        MonitoringServiceConfig mSConfig = config.getMonitoringServiceConfig();
  ModuleMonitoringLevelsConfig mConfig = mSConfig.getModuleMonitoringLevelsConfig();
        String jvm = mConfig.getJVM();
        String http = mConfig.getHTTPService();
        String transaction = mConfig.getTransactionService();
        String jms = mConfig.getJMSService();
        String orb = mConfig.getORB();
View Full Code Here

TOP

Related Classes of com.sun.appserv.management.config.MonitoringServiceConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.