title: EnumTranslator bean is not injected (is null)
body: <p><code>RepositoryRestMvcConfiguration</code> class of <strong>Spring Data REST</strong> has method <code>enumTranslator()</code>:</p>
  
  <pre class="lang-java prettyprint-override"><code>@Bean
  public EnumTranslator enumTranslator() {
    return new EnumTranslator(resourceDescriptionMessageSourceAccessor());
  }
  </code></pre>
  
  <p>that (I expect) registers an '<strong>enumTranslator</strong>' Bean.</p>
  
  <p>But when I try to use it in my component then it isn't injected and always is <code>null</code>:</p>
  
  <pre class="lang-java prettyprint-override"><code>@Component
  public class MyComponent {
  
      private final EnumTranslator enumTranslator; 
  
      public MyComponent(EnumTranslator enumTranslator) {
          this.enumTranslator = enumTranslator;
      }
  
      public void someMethod() {             
          // enumTranslator -&gt; null
      }
  }
  </code></pre>
  
  <p>Could somebody explain why does this happens and how to correct inject such beans?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I've figured out - I tried to implement a class (Spring converter) that isn't managed by Spring ))</p>
  
  <p>Thanks everybody who tried to help me! </p>