code: @Override
      public EJSWrapperCommon internalCreateWrapper(BeanId beanId)
                      throws CreateException, RemoteException, CSIException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.entry(tc, "internalCreateWrapper : " + beanId);
  
          // -----------------------------------------------------------------------
          // Creating the wrappers for an EJBFactory is fairly simple; there is
          // only one remote wrapper, which is really just a wrapper around the
          // HomeOfHomes.
          //
          // A different instance of the wrapper class (EJBFactory) is requred
          // for every binding, to insure it is associated with the correct
          // cluster, for proper WLM routing.  The 'primary key' of an EJBFactory
          // is the J2EEName of either the applicaton or module, and is used
          // to obtain the proper cluster identity.
          //
          // A special EJSWrapperCommon constructor is used, that processes
          // just the one wrapper, and avoids the requirement of passing
          // BeanMetaData.  There really is no BMD for the EJBFactory, as it
          // just represents the HomeOfHomes.
          // -----------------------------------------------------------------------
  
          EJBFactoryImpl ejbFactory = new EJBFactoryImpl(ivEJBLinkResolver);
          J2EEName factoryKey = (J2EEName) beanId.getPrimaryKey();
  
          Object cluster = ivContainer.getEJBRuntime().getClusterIdentity(factoryKey);
  
          EJSWrapperCommon wrappers = new EJSWrapperCommon(ejbFactory,
                          beanId,
                          cluster,
                          ivContainer);
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "internalCreateWrapper : " + wrappers);
  
          return wrappers;
      }
docs: Create wrapper instance of the type of wrappers managed by this
  home. <p>
  
  This method provides a wrapper factory capability.
  
  @param id The <code>BeanId</code> to associate with the wrapper
  
  @return <code>EJSWrapper</code> instance whose most specific
  type is the type of wrappers managed by this home <p>