how to get spring context