code: private void cacheInsert(MasterKey key, StatefulBeanO sfbean) {
          CacheElement cacheElement = cache.insert(key, sfbean);
          sfbean.ivCacheElement = cacheElement;
          sfbean.ivCacheKey = key;
  
          if (!sfbean.getHome().getBeanMetaData().isPassivationCapable()) {
              cache.markElementEvictionIneligible(cacheElement);
          }
      }
docs: Insert a stateful bean with the specified key into the cache. The caller
  must be holding the lock associated with the key.