add inject for adapter

 add inject for adapter