/*
* Given the name of a resource and the target, create the resource-ref object with the enabled flag.
*/
static public void createResourceRef(String name, String targetName, boolean enabled){
ResourceRefConfigCR target = getResoruceRefConfigCR(targetName);
if (target != null)
target.createResourceRefConfig(name, enabled);
}