code: public void setEnterpriseBean(Object sb, ManagedObjectContext ejbContext) {
          setEnterpriseBean(sb);
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "setEnterpriseBean : ejbContext = " + ejbContext);
  
          ivEjbManagedObjectContext = ejbContext;
      }
docs: Set enterprise bean associate with this <code>BeanO</code>. <p>
  
  @param sb the enterprise bean instance that represents this
  stateful session bean. Not required to implement
  SessionBean starting with EJB 3.0.