/**
  * Calls realize() on the Controller and blocks the current thread until the Controller is
  * Realized.
  *
  * @return boolean indicating whether the transition was successful.
  */
 public boolean blockingRealize() {
   setState(Controller.Realized);
   controller.realize();
   return waitForState();
 }