Spring core. Default @Bean destroy method

后端 未结 0 498
谎友^
谎友^ 2021-02-12 05:43

I have my own bean:

@Bean
public MyBean myBean(){...

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

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