Package org.rhq.core.domain.configuration

Examples of org.rhq.core.domain.configuration.Property.deepCopy()


                    } else {
                        // we only pull the configuration when an update is needed. The getProperties call
                        // just ensures the lazy load happens.
                        Configuration pluginConfiguration = resource.getPluginConfiguration();
                        int numberOfProperties = pluginConfiguration.getProperties().size();
                        pluginConfiguration.put(templateProperty.deepCopy(false));
                        modified = true;
                    }
                }
            }
View Full Code Here


                    Configuration pluginConfiguration = resource.getPluginConfiguration();
                    int numberOfProperties = pluginConfiguration.getProperties().size();
                    String propertyValue = pluginConfiguration.getSimpleValue(propertyDef.getName(), null);
                    if (propertyValue == null) {
                        Property templateProperty = templateConfiguration.get(propertyDef.getName());
                        pluginConfiguration.put(templateProperty.deepCopy(false));
                        modified = true;
                    }
                }
            }
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.