Package org.rhq.enterprise.server.configuration.metadata

Examples of org.rhq.enterprise.server.configuration.metadata.ConfigurationDefinitionUpdateReport


            } else { // update the configuration
                if (log.isDebugEnabled()) {
                    log.debug("Updating plugin configuration definition for " + existingType);
                }
                ConfigurationDefinitionUpdateReport updateReport = configurationMetadataMgr
                    .updateConfigurationDefinition(newType.getPluginConfigurationDefinition(),
                        existingConfigurationDefinition);

                if (updateReport.getNewPropertyDefinitions().size() > 0
                    || updateReport.getUpdatedPropertyDefinitions().size() > 0) {

                    // don't pull/update every resource entity in at this point, do it in batches
                    List<Integer> resourceIds = resourceMgr.findIdsByTypeIds(Arrays.asList(existingType.getId()));
                    BatchIterator<Integer> batchIterator = new BatchIterator<Integer>(resourceIds, 200);
                    while (batchIterator.hasMoreBatches()) {
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.configuration.metadata.ConfigurationDefinitionUpdateReport

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.