Package org.rhq.plugins.hosts.helper

Examples of org.rhq.plugins.hosts.helper.NonAugeasHostsConfigurationDelegate


    public Configuration loadResourceConfiguration() throws Exception {
        Configuration resourceConfig;
        if (isAugeasAvailable()) {
            resourceConfig = super.loadResourceConfiguration();
        } else {
            resourceConfig = new NonAugeasHostsConfigurationDelegate(this).loadResourceConfiguration();
            // This will add error messages to any PropertySimples with invalid values, so they can be displayed by the GUI.
            validateResourceConfiguration(new ConfigurationUpdateReport(resourceConfig));
        }
        return resourceConfig;
    }
View Full Code Here


                log.debug("Validation of updated Resource configuration for " + getResourceDescription()
                    + " failed with the following errors: " + report.getErrorMessage());
                report.setStatus(ConfigurationUpdateStatus.FAILURE);
                return;
            }
            new NonAugeasHostsConfigurationDelegate(this).updateResourceConfiguration(report);
        }
    }
View Full Code Here

TOP

Related Classes of org.rhq.plugins.hosts.helper.NonAugeasHostsConfigurationDelegate

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.