env.setEnvironmentEntries(envEntries);
}
envEntries.add(EnvironmentEntryMetaDataParser.parse(reader));
break;
case EJB_REF:
EJBReferencesMetaData ejbReferences = env.getEjbReferences();
if (ejbReferences == null) {
ejbReferences = new EJBReferencesMetaData();
env.setEjbReferences(ejbReferences);
}
ejbReferences.add(EJBReferenceMetaDataParser.parse(reader));
break;
case EJB_LOCAL_REF:
EJBLocalReferencesMetaData ejbLocalReferences = env.getEjbLocalReferences();
if (ejbLocalReferences == null) {
ejbLocalReferences = new EJBLocalReferencesMetaData();