code: public static com.ibm.websphere.cache.Cache getCache() {
          if (isServletCachingEnabled())
              return (com.ibm.websphere.cache.Cache)ServerCache.cache;
          else
              return null;
      }
docs: This obtains a reference to the dynamic cache.
  
  @ibm-api
  @return Reference to the cache or null if caching is disabled
  @see #getDistributedMap()
  @see DistributedMap
  @deprecated Use DistributedMap to store and manage objects
  in cache. DynamicCacheAccessor#getDistributedMap
  will return a DistributedMap for accessing
  base cache.
  @ibm-api