// TODO: remove this block, see previous comments
log.warn("EJBTHREE-1289: Using legacy EjbEncInjector, because mappedName for enc \"" + encName + "\", field \"" + fieldName
+ "\" is null (container.environmentRefGroup.annotatedEjbReferences = "
+ container.getEnvironmentRefGroup().getAnnotatedEjbReferences() + ")");
// legacy
injector = new EjbEncInjector(encName, refClass, link, errorType);
}
else
{
injector = new EjbEncInjector(encName, mappedName, errorType);
}
container.getEncInjectors().put(encName, injector);
}