They started long time ago from a XML-configured c...
# random
d
They started long time ago from a XML-configured container. It was okay for that time. But after that they made a terrible mistake proposing the annotation-based configuration. Since then every class in a Spring app have known of the container.