Retrieves a bean registered in the Spring context using a class name. At
first the fully qualified class name is checked, then if nothing was
found the simple class name is used as bean id.
Parameters: clazz - The bean identifier as class name The bean instance