support factory bean in xml