references.addAll(jndiConsumer.getEjbRef());
references.addAll(jndiConsumer.getEjbLocalRef());
for (EjbReference ref : references) {
EjbReferenceInfo info = new EjbReferenceInfo();
info.homeClassName = ref.getHome();
info.interfaceClassName = ref.getInterface();
info.referenceName = ref.getName();
info.link = ref.getEjbLink();