Fixes Google Code issue 296: don't try to resolve ambiguous beans, just
check the exact bean class name.