Added volatile to spring's Beans