configuring spring context (java based)