public Result testSave(String name, String value) {
   Result result = new Result();
   result.passed("passed ** ");
   /*
           if(name.equals(ServerTags.QOS_METRICS_INTERVAL_IN_SECONDS)) {
               try {
                   // <addition> [email protected] Bug : 4698904
                   if(value!=null)
                   // </addition>
                       Long.parseLong(value);
                   result.passed("QOS Metrics Interval Valid Number ");
               } catch(NumberFormatException e) {
                   result.failed("QOS Metrics Interval Invalid Number " + value);
               }
           }
           if(name.equals(ServerTags.QOS_RECOMPUTE_TIME_INTERVAL_IN_MILLIS)){
               try {
                   // <addition> [email protected] Bug : 4698904
                   if(value!=null)
                   // <addition>
                        Long.parseLong(value);
                   result.passed("QOS Recompute Time Interval Valid Number");
               } catch(NumberFormatException e){
                   result.failed("QOS Recompute Time Interval Invalid Number " + value);
               }
           }
   */
   return result;
 }
 // check method called from iasadmin and admin GUI
 public Result check(ConfigContextEvent ccce) {
   Result result;
   Object value = ccce.getObject();
   result = new Result();
   String beanName = ccce.getBeanName();
   result.passed("Passed***");
   if (beanName != null) {
     String name = ccce.getName();
     result = testSave(name, (String) value);
     return result;
   }
   /*
           HttpService http = (HttpService)value;
           String qos = http.getQosMetricsIntervalInSeconds();
           String qosRecompute = http.getQosRecomputeTimeIntervalInMillis();
           try {
               // <addition> [email protected] Bug : 4698904
               if(qos!=null)
               // </addition>
                   Long.parseLong(qos);
               result.passed("QOS Metric Interval Valid Number : Passed");
           } catch(NumberFormatException e) {
               result.failed("QOS Metric Interval Invalid Number " + qos);
           }
           try {
              // <addition> [email protected] Bug : 4698904
              if(qosRecompute!=null)
              // <addition>
                   Long.parseLong(qosRecompute);
              result.passed("QOS Recompute Interval Valid : Passed");
           } catch(NumberFormatException e) {
               result.failed(" QOS Recompute time Interval Invalid Number " + qosRecompute);
           }
           Acl[] aclList = http.getAcl();
           for(int i=0;i<aclList.length;i++){
               String file = aclList[i].getFile();
               File f = new File(file);
               try {
                   if(f.exists())
                       result.passed("Acl File Valid - " + file + ": Passed");
                   else
                       result.failed("Acl File Invalid - " + file + ": Failed");
               }catch(SecurityException e){
                   result.failed("Acl File Not able to access "+ file + ": Failed");
               }
           }
   */
   return result;
 }