}
}
private <T extends Injectable> void mergeJndiReferences(final Map<String, T> from, final Map<String, T> to) {
for (final Map.Entry<String, T> entry : from.entrySet()) {
final Injectable injectable = to.get(entry.getKey());
if (injectable == null) {
to.put(entry.getKey(), entry.getValue());
} else {
injectable.getInjectionTarget().addAll(entry.getValue().getInjectionTarget());
}
}
}