log.fine(L.l("ResinContainerContext.getComponent({0} with type {1})",
key, key.getClass().getName()));
}
if (key instanceof ContainerKeyPair) {
ContainerKeyPair pair = (ContainerKeyPair) key;
// XXX pair.getContainerName() appears to be null most of the time
// ignore it?
key = pair.getKey();
}
if (key instanceof Class) {
Class clazz = (Class) key;
ComponentFactory component = null;