// Injection points
List<String> propertyNames = new ArrayList<String>();
for(Property prop : ct.getProperties()) {
propertyNames.add(prop.getName());
}
EjbInfo ejbInfo = ejbModuleInfo.getEjbInfo(uri);
for(Map.Entry<String, EjbReferenceInfo> entry : ejbInfo.ejbReferences.entrySet()) {
EjbReferenceInfo ejbRef = entry.getValue();
implementation.getOptExtensionReferenceInjectionPoints().put(ejbRef.injectionTarget, ejbRef.businessInterface);
}
for(Map.Entry<String, EnvEntryInfo> entry : ejbInfo.envEntries.entrySet()) {
EnvEntryInfo envEntry = entry.getValue();
if(propertyNames.contains(envEntry.name.replace("/", "_"))) {
implementation.getOptExtensionPropertyInjectionPoints().put(envEntry.name, envEntry.type);
}
}
}
}
EjbInfo ejbInfo = ejbModuleInfo.getEjbInfo(uri);
if (ejbInfo == null) {
// FIXME:
logger.severe("EJB " + uri + " is not found in the module");
// throw new ContributionResolveException("EJB " + uri + " is not found in the module");
} else {