setAttribute(raNode, RuntimeTagNames.IDLE_TIMEOUT_IN_SECONDS, (String) descriptor.getValue(ResourceAdapter.IDLE_TIMEOUT_IN_SECONDS));
// properties...
NameValuePairDescriptor[] properties = descriptor.getPropertyElement();
if (properties!=null && properties.length>0) {
RuntimeNameValuePairNode subNode = new RuntimeNameValuePairNode();
for (int i=0;i<properties.length;i++) {
subNode.writeDescriptor(raNode, RuntimeTagNames.PROPERTY, properties[i]);
}
}
return raNode;
}