add template method patter use spring quartz as demo