env.setResourceReferences(resourceReferences);
}
resourceReferences.add(ResourceReferenceMetaDataParser.parse(reader));
break;
case RESOURCE_ENV_REF:
ResourceEnvironmentReferencesMetaData resourceEnvReferences = env.getResourceEnvironmentReferences();
if (resourceEnvReferences == null) {
resourceEnvReferences = new ResourceEnvironmentReferencesMetaData();
env.setResourceEnvironmentReferences(resourceEnvReferences);
}
resourceEnvReferences.add(ResourceEnvironmentReferenceMetaDataParser.parse(reader));
break;
case MESSAGE_DESTINATION_REF:
MessageDestinationReferencesMetaData mdReferences = env.getMessageDestinationReferences();
if (mdReferences == null) {
mdReferences = new MessageDestinationReferencesMetaData();