code: @Override
      public void open(Solver<Solution_> solver) {
          ((DefaultSolver<Solution_>) solver).addPhaseLifecycleListener(listener);
      }
docs: ************************************************************************