docs: private void bindInterfaces(NameSpaceBinder<?> binder,
                                  BeanMetaData bmd,
                                  HomeWrapperSet homeSet,
                                  boolean local,
                                  int numInterfaces,
                                  boolean singleGlobalInterface) // F743-23167
                      throws NamingException, RemoteException, CreateException {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "bindInterfaces: " + bmd.j2eeName +
                           ", deferred=" + (homeSet == null) +
                           ", local=" + local);
  
          // Note that these variables must be kept in sync with countInterfaces.
          String homeInterfaceClassName = local ? bmd.localHomeInterfaceClassName : bmd.homeInterfaceClassName;
          boolean hasLocalBean = local && bmd.ivLocalBean;
          String[] businessInterfaceNames = local ? bmd.ivBusinessLocalInterfaceClassNames : bmd.ivBusinessRemoteInterfaceClassNames;
  
          // If we have multiple interfaces (e.g., a home and one business
          // interface, or multiple business interfaces), and simple binding name
          // was specified, then issue a warning message that simple binding name
          // is misused.
          if (numInterfaces > 1 && bmd.simpleJndiBindingName != null) {
              Tr.warning(tc, "SIMPLE_BINDING_NAME_MISSUSED_CNTR0168W",
                         new Object[] { bmd.enterpriseBeanName, bmd._moduleMetaData.ivName, bmd._moduleMetaData.ivAppName });
          }
  
          HomeRecord hr = bmd.homeRecord;
  
          // Bind the home interface, if any.
          if (homeInterfaceClassName != null) {
              bindInterface(binder, hr, homeSet, numInterfaces, singleGlobalInterface,
                            homeInterfaceClassName, -1, local);
          }
  
          // Bind the no-interface view, if any.
          int interfaceIndex = 0;
          if (hasLocalBean) {
              bindInterface(binder, hr, homeSet, numInterfaces, singleGlobalInterface,
                            bmd.enterpriseBeanClassName, interfaceIndex, local);
              interfaceIndex++;
          }
  
          // Bind business interfaces, if any.
          if (businessInterfaceNames != null) {
              for (String businessInterfaceName : businessInterfaceNames) {
                  bindInterface(binder, hr, homeSet, numInterfaces, singleGlobalInterface,
                                businessInterfaceName, interfaceIndex, local);
                  interfaceIndex++;
              }
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "bindInterfaces");
      }