support get bean by type