code: public EJSWrapperCommon getWrapperForCreate(BeanO beanO)
                      throws CSIException,
                      RemoteException
      {
          boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "getWrapperForCreate");
  
          BeanId id = beanO.getId();
          EJSHome home = beanO.home;
          EJSWrapperCommon wc;
  
          if (home.statefulSessionHome)
          {
              wc = ((StatefulBeanO) beanO).ivWrapperCommon;
              if (wc == null)
              {
                  // The cached wrapper was evicted from the cache and disconnected
                  // before we could return to the application (e.g., the bean's
                  // PostConstruct hung).  Recreate the wrapper without a cached
                  // bean, which will still work but have worse performance.
                  wc = getWrapper(id);
              }
          }
          else
          {
              wc = getWrapper(id);
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "getWrapperForCreate");
          return wc;
      }
docs: d729903