code: public EJBObject getBean(ContainerTx tx, BeanId id) throws RemoteException {
          EJBObject result = null;
  
          BeanO beanO = activator.getBean(tx, id);
          if (beanO != null) {
              try { // d116480
                  result = wrapperManager.getWrapper(id).getRemoteWrapper(); // f111627 d156807.1
              } catch (IllegalStateException ise) { // d116480
                  // Result is still null if no defined interface
                  FFDCFilter.processException(ise, CLASS_NAME + ".getBean", "1542", this);
              } // d116480
          }
          return result;
      }
docs: Attempt to retrieve from cache bean with given <code>beanId</code>
  in current transaction context. <p>
  
  This method returns null if a bean with given id is not found. <p>
  
  @param id the <code>BeanId</code> to retrieve bean for <p>