/** * This will populate the given configuration definition with a default template. * A default template will only be created if one or more properties are required * or have default values. If no property definition is required or has a default value, * the default template will remain <code>null</code> in the given config definition. * * Note that if the given configuration definition already has a default template defined * for it, this method is a no-op and will return immediately. * * @param configDef the configuration definition whose default template is to be created and set * * @deprecated use the utility found in the domain module -org.rhq.core.domain.configuration.ConfigurationUtility */ public static void initializeDefaultTemplate(ConfigurationDefinition configDef) { org.rhq.core.domain.configuration.ConfigurationUtility.initializeDefaultTemplate(configDef); }