public Node writeDescriptor(Node parent, String nodeName, EjbRemovalInfo descriptor) {
Node removeNode = appendChild(parent, nodeName);
MethodNode methodNode = new MethodNode();
methodNode.writeJavaMethodDescriptor
(removeNode, EjbTagNames.REMOVE_BEAN_METHOD,
descriptor.getRemoveMethod());
appendTextChild(removeNode, EjbTagNames.REMOVE_RETAIN_IF_EXCEPTION,
Boolean.toString(descriptor.getRetainIfException()));