title: Does spring bean self injection works in new spring versions?
body: <pre><code>@Service
  public class UserService implements Service{
     @Autowired
     private Service self;
  }
  </code></pre>
  
  <p>Does the code above works fine in Spring new versions (5.*)?
  ( I could check by myself but I wanna know 100%, but myself I may screw it up somehow )
  Also I know workarounds:</p>
  
  <pre><code>@Service(value = "someService")
  public class UserService implements Service{
     @Resource(name = "someService")
     private Service self;
  }
  </code></pre>
  
  <p>OR</p>
  
  <pre><code> @Autowired
  private ApplicationContext applicationContext;
  </code></pre>
  
  <p>So I'm not just asking for nothing, I need to know 100%
  I need an advice from professionals, I don't believe to myself experiments, because I'm not so much experienced in Spring ( e.g. there are much nebulous configs there for me) . Hope this clarifies why I'm asking rather than experiment.</p>