Deloitte Interview Question

How to declare a class as Spring Controller using XML?