title: How to inject bean into BeanDefinitionParser?
body: <p>I have a parser.</p>
  
  <pre><code>class MyAbstractBeanDefinitionParser extends AbstractBeanDefinitionParser {
      @Autowired
      private String playerName;
      // getters/setters
  }
  </code></pre>
  
  <p>I want to inject into the parser a String (playerName). To do that I create a bean and wire it to the context.</p>
  
  <pre><code>ConfigurableListableBeanFactory beanFactory = ctx.getBeanFactory();
  beanFactory.registerSingleton("playerName", name);
  </code></pre>
  
  <p>When I create a <code>GenericXmlApplicationContext</code> it executes <code>BeanDefinitionParser</code> method 'parseInternal' but I don't see my dependency. Here is my question: how can I inject a playerName to <code>MyAbstractBeanDefinitionParser</code>?</p>