code: protected Object getCacheManager() {
          CacheManager cacheManager = CacheManager.getInstance();
          if (cacheManager != null)
              return cacheManager;
          return CacheManager.newInstance();
      }
docs: 返回值不能是CacheManager,因为要考虑没有加ehcache的情况