fix #184 add template method support bind template bean