code: public void cache(Identity oid, Object obj)
      {
          doInternalCache(oid, obj, ObjectCacheInternal.TYPE_UNKNOWN);
      }
docs: Makes object persistent to the Objectcache.
  I'm using soft-references to allow gc reclaim unused objects
  even if they are still cached.