#JC-1318 Deprecated methods were changed according to Spring 3.2 documentation