docs: public EJBLocalObject getLocalObject()
      {
          if (localObject != null)
          {
              if (localWrapperProxyState != null &&
                  localWrapperProxyState.ivWrapper == null)
              {
                  localWrapperProxyState.connect(ivBeanId, localWrapper);
              }
              return localObject;
          }
  
          throw new IllegalStateException("Local interface not defined");
      }