Changing class name of factory bean