[kmf-spring] synchronized methods in app context utils

Change-Id: I259f718b4f0e34cc92abac71ab3ddddf3b2fff48