Register component info of QueryEngine in MW.

Change-Id: Iba7ab396a4bf4f1b49c5041c85976c7702fddc0d