title: I want to access my Session variable during my bean creation time
body: <p>i want to use session variable during bean creation time in spring boot and my code is something like this.</p>
  
  <p>@Configuration
  public class DataSourceConfig {</p>
  
  <p>String dbName; </p>
  
  <p>@Bean(name = "jMaster")</p>
  
  <p>@Autowired</p>
  
  <p>public JdbcTemplate masterTemplate(@Qualifier("dsMaster") DataSource dsMaster) {</p>
  
  <pre><code>    this.dbName=// i want here to take value from session ;
      return new JdbcTemplate(dsMaster);
  </code></pre>
  
  <p>}
  }</p>