* @return the JAXP DOM node
*/
@Override
public Node writeDescriptors(Node parent, String nodeName, Descriptor parentDesc) {
if (parentDesc instanceof EjbReferenceContainer) {
EjbReferenceContainer ejbReferenceContainer = (EjbReferenceContainer)parentDesc;
// ejb-reference-description*
Set<EjbReference> ejbReferences =
ejbReferenceContainer.getEjbReferenceDescriptors();
for (EjbReference ejbReference : ejbReferences) {
writeDescriptor(parent, nodeName, ejbReference);
}
}
return parent;