spring class advice example