code: public Contextual<?> getBean(Object beanKey)
      {
          if (passivationCapable)
          {
              return beanManager.getPassivationCapableBean((String) beanKey);
          }
          else
          {
              return (Contextual<?>) beanKey;
          }
      }
docs: Restores the Bean from its beanKey.
  @see #getBeanKey(javax.enterprise.context.spi.Contextual)