// Add a JndiPropertyInjector
addInjector(container, encName, annotatedElement);
// Add the ServicerefEncInjector
if(!container.getEncInjectors().containsKey(srefName))
container.getEncInjectors().put(srefName, new ServiceRefInjector(encName, annotatedElement, sref));
}
}
else
{
if(container.getEncInjectors().containsKey(srefName))
continue;
// Add the ServicerefEncInjector only
container.getEncInjectors().put(srefName, new ServiceRefInjector(encName, annotatedElement, sref));
}
}
}