in <Bean>, we can choose the 'init-method' and 'destory-method' to do init the class