springframework @Service指定初始化方法和销毁方法

@PostConstruct public void init() {

  }
@PreDestroy public void destory() {
}

原文地址:https://www.cnblogs.com/lingear/p/3010459.html