add factory bean example