Sample code for spring DI