Examples of updateValues()


Examples of com.webobjects.monitor._private.MApplication.updateValues()

                                if (anMApplication == null) {
                                    element = new NSDictionary(new Object[]{Boolean.FALSE, _hostName + ": Application " +name+ " not found; UPDATE failed"}, errorKeys);
                                    applicationArrayResponse.addObject(element);
                                } else {
                                    anMApplication.updateValues(anApp);
                                    applicationArrayResponse.addObject(successElement);
                                }
                            }
                            configureResponse.takeValueForKey(applicationArrayResponse, "applicationArray");
                        }
View Full Code Here

Examples of com.webobjects.monitor._private.MApplication.updateValues()

                if (anMApplication == null) {
                    // we have to add it
                    aConfig.addApplication_W(new MApplication(anApp, aConfig));
                } else {
                    // configure and remove from currentHosts
                    anMApplication.updateValues(anApp);
                    currentApplications.removeObject(anMApplication);
                }
            }
        }
        // remove all hosts remaining in currentHosts
View Full Code Here

Examples of com.webobjects.monitor._private.MHost.updateValues()

                                MHost anMHost = aConfig.hostWithName(name);
                                if (anMHost == null) {
                                    element = new NSDictionary(new Object[]{Boolean.FALSE, _hostName + ": Host " +name+ " not found; UPDATE failed"}, errorKeys);
                                    hostArrayResponse.addObject(element);
                                } else {
                                    anMHost.updateValues(aHost);
                                    hostArrayResponse.addObject(successElement);
                                }
                            }
                            configureResponse.takeValueForKey(hostArrayResponse, "hostArray");
                        }
View Full Code Here

Examples of com.webobjects.monitor._private.MHost.updateValues()

                if (anMHost == null) {
                    // we have to add it
                    aConfig.addHost_W(new MHost(aHost, aConfig));
                } else {
                    // configure and remove from currentHosts
                    anMHost.updateValues(aHost);
                    currentHosts.removeObject(anMHost);
                }
            }
        }
        // remove all hosts remaining in currentHosts
View Full Code Here

Examples of com.webobjects.monitor._private.MInstance.updateValues()

                                }
                                if (anMInstance == null) {
                                    element = new NSDictionary(new Object[]{Boolean.FALSE, _hostName + ": Instance " +hostName+"-"+port+ " not found; UPDATE failed"}, errorKeys);
                                    instanceArrayResponse.addObject(element);
                                } else {
                                    anMInstance.updateValues(anInst);
                                    instanceArrayResponse.addObject(successElement);
                                }
                            }
                            configureResponse.takeValueForKey(instanceArrayResponse, "instanceArray");
                        }
View Full Code Here

Examples of com.webobjects.monitor._private.MInstance.updateValues()

                if (anMInstance == null) {
                    // we have to add it
                    aConfig.addInstance_W(new MInstance(anInst, aConfig));
                } else {
                    // configure and remove from currentHosts
                    anMInstance.updateValues(anInst);
                    currentInstances.removeObject(anMInstance);
                }
            }
        }
        // remove all hosts remaining in currentHosts
View Full Code Here

Examples of com.webobjects.monitor._private.MSiteConfig.updateValues()

                        NSArray applicationArray = (NSArray) configureDict.valueForKey("applicationArray");
                        NSArray instanceArray = (NSArray) configureDict.valueForKey("instanceArray");

                        if (siteDict != null) {
                            // update-configure - siteConfig.updateValues
                            aConfig.updateValues(siteDict);
                            configureResponse.takeValueForKey(successElement, "site");
                        }
                        if (hostArray != null) {
                            NSMutableArray hostArrayResponse = new NSMutableArray(hostArray.count());
View Full Code Here

Examples of com.webobjects.monitor._private.MSiteConfig.updateValues()

        NSArray hostArray = (NSArray) config.valueForKey("hostArray");
        NSArray applicationArray = (NSArray) config.valueForKey("applicationArray");
        NSArray instanceArray = (NSArray) config.valueForKey("instanceArray");

        // Configure the site
        if (siteDict != null) aConfig.updateValues(siteDict);

        // Look through the array of hosts, and see if we need to add/remove any - configure the rest
        NSMutableArray currentHosts = new NSMutableArray(aConfig.hostArray());
        if (hostArray != null) {
            for (Enumeration e = hostArray.objectEnumerator(); e.hasMoreElements(); ) {
View Full Code Here

Examples of net.sourceforge.cruisecontrol.monitoring.JmxProject.updateValues()

 
    private void updateProjectBeans(SortedList sortedProjects) {
        for( int index = 0, max = sortedProjects.size();index < max;index++ ) {
            JmxProject currentProject = (JmxProject) sortedProjects.get( index );
            try {
              currentProject.updateValues();
            }
            catch (Exception e) {
              String errorMessage = "Error updating values for " + currentProject.getProjectName();
        LOG.error( errorMessage, e );
      }
View Full Code Here

Examples of org.fenixedu.academic.domain.GratuitySituation.updateValues()

        if (this instanceof GratuityTransaction) {
            GratuityTransaction gratuityTransaction = (GratuityTransaction) this;
            GratuitySituation gratuitySituation = gratuityTransaction.getGratuitySituation();
            gratuityTransaction.setGratuitySituation(null);

            gratuitySituation.updateValues();
        }

        setGuideEntry(null);
        super.delete();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.