// security-role-mapping*
List<SecurityRoleMapping> roleMappings = bundleDescriptor.getSecurityRoleMappings();
for (int i = 0; i < roleMappings.size(); i++) {
SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
srmn.writeDescriptor(ejbs, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
}
// entreprise-beans
EntrepriseBeansRuntimeNode ejbsNode = new EntrepriseBeansRuntimeNode();
ejbsNode.writeDescriptor(ejbs, RuntimeTagNames.EJBS, bundleDescriptor);