@Vassem you are right, however I'm not really fond of auto-detection. Autodetection involves class scanning and reflection, two things for which Spring has been criticized by developers fond of other languages(like Scala and Ruby) for years. Also, it allows behaviour of the application that makes it seem as bean appear out of nowhere and are injected "automagically".
But, I am quite enchanted of the bean functional configuration supported in Spring 5, so I would like to add that to resons 2. & 3. for migrating to Spring 5.
Why fit in when you were born to stand out? - Seuss. Tiny ad: