Merge pull request #3650 from emrahkocaman/master

Master branch of Jcache-mancenter integration
Type correction.
Check CacheService registration before collecting stats