}
if (attributes.isEmpty() == false)
rarDeployment.setAttributes(attributes);
// We will have to see how to define the set of dependencies
JBossRAMetaData jmd = rdmd.getRaXmlMetaData();
if(jmd.getDependsMetaData() != null)
{
//String dependsObjectName = jmd.getDependsMetaData().getDependsName();
List<ServiceDependencyMetaData> dependencies = new ArrayList<ServiceDependencyMetaData>();
List<DependsMetaData> depends = jmd.getDependsMetaData();
if(!depends.isEmpty())
{
Iterator<DependsMetaData> iter = depends.iterator();
while(iter.hasNext())