* @param classLoader The deployment class loader
* @param deploymentReflectionIndex The reflection index
* @return The bindings for the environment entries
*/
protected List<BindingConfiguration> processDescriptorEntries(DeploymentUnit deploymentUnit, DeploymentDescriptorEnvironment environment, EEModuleDescription moduleDescription, ComponentDescription componentDescription, ClassLoader classLoader, DeploymentReflectionIndex deploymentReflectionIndex) throws DeploymentUnitProcessingException {
EJBLocalReferencesMetaData ejbLocalRefs = environment.getEnvironment().getEjbLocalReferences();
List<BindingConfiguration> bindingDescriptions = new ArrayList<BindingConfiguration>();
//TODO: this needs a lot more work
if (ejbLocalRefs != null) {
for (EJBLocalReferenceMetaData ejbRef : ejbLocalRefs) {
String name = ejbRef.getEjbRefName();