Spring core. Default @Bean destroy method

后端 未结 0 788
深忆病人
深忆病人 2021-02-12 06:09

I have my own bean:

@Bean
public MyBean myBean(){...

following spring documentation to release its own resources I should specify destroy

相关标签:
回答
  • 消灭零回复
提交回复
热议问题