if (pmDescriptors!=null && !pmDescriptors.isEmpty()) {
pms = super.writeDescriptor(parent, nodeName, descriptor);
PMDescriptorNode pmNode = new PMDescriptorNode();
for (Iterator pmIterator = pmDescriptors.iterator();pmIterator.hasNext();) {
IASPersistenceManagerDescriptor pmDescriptor = (IASPersistenceManagerDescriptor) pmIterator.next();
pmNode.writeDescriptor(pms, RuntimeTagNames.PM_DESCRIPTOR, pmDescriptor);
}
PersistenceManagerInUse inUse = descriptor.getPersistenceManagerInUse();
if (inUse!=null) {
PMInUseNode inUseNode = new PMInUseNode();