for (Class<?> adapterType : adapterTypes) {
if (adapterType != implType) {
adapterImplementations.add(adapterType, implType);
}
}
ServiceRegistration reg = registerAdapterFactory(adapterTypes, annotation.adaptables(), implType, annotation.condition());
regs.add(reg);
}
}
} catch (ClassNotFoundException e) {
log.warn("Unable to load class", e);