Pregunta de entrevista de Deloitte

How to declare a class as Spring Controller using XML?