Package org.rhq.core.clientapi.agent.configuration

Examples of org.rhq.core.clientapi.agent.configuration.ConfigurationUpdateRequest


    public ConfigurationUpdateResponse updateResource(Resource resource, Configuration configuration)
    {
        ConfigurationUpdateResponse response;
        try
        {
            ConfigurationUpdateRequest request = new ConfigurationUpdateRequest(0, configuration, resource.getId());
            response = getConfigService().executeUpdateResourceConfigurationImmediately(request);
            if (response.getStatus() == ConfigurationUpdateStatus.SUCCESS)
            {
                // As ccrouch recalls, we do a service scan to pickup any change to the updated Resource's name.
                discoverServicesSync();
View Full Code Here

TOP

Related Classes of org.rhq.core.clientapi.agent.configuration.ConfigurationUpdateRequest

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.