title: Spring core. Default @Bean destroy method
body: <p>I have my own bean:</p>
  
  <pre><code>@Bean
  public MyBean myBean(){...
  </code></pre>
  
  <p>following spring documentation to release its own resources I should specify <code>destroyMethod</code>. I've not found any default destroy methods called by spring in case if <code>destroyMethod</code> is not specified directly.</p>
  
  <p>I used</p>
  
  <pre><code>@Bean(destroyMethod = "close")
  public MyBean myBean(){...
  </code></pre>
  
  <p>but think about possibility to do not specify destroy method directly if it has value by default.</p>
  
  <hr>
  
  <p>Does spring try something by default like <code>destroy</code>, <code>close</code>, <code>release</code>?
  If spring tries some methods by default to release resources - which ones?</p>