title: Can i get config class name that initialized my bean?
body: <p>I have config class and spring component</p>
  
  <pre><code>package packageA;
  
  @Component
  public class A {
  }
  
  
  
  package packageConfig;
  
  @Configuration
  @ComponentScan("packageA")
  public class ConfigClass {
  }
  </code></pre>
  
  <p>Also a have another component that autowires my component <code>A</code></p>
  
  <pre><code>@Component
  public class B {
  
      @Autowired
      private A a;
  }
  </code></pre>
  
  <p>So my question is "Is that possible to get to know the config class name that scanned my autowired bean (though the debug in post construct or smthg like that). I dont need this name in code actualy. I just need to know the config class name"</p>