add spring aop and aspect template class