the solution to http://stackoverflow.com/questions/24606646/how-to-inject-a-dependency-bean-to-gridcachestore-implementation :)