code: public void cache(Identity oid, Object obj)
      {
          if (oid != null && obj != null)
          {
              ObjectCache cache = getCache(oid, obj, METHOD_CACHE);
              if (cache != null)
              {
                  cache.cache(oid, obj);
              }
          }
      }
docs: Caches the given object using the given Identity as key
  
  @param oid  The Identity key
  @param obj  The object o cache