public HostRoleCommandFactory getHostRoleCommandFactory() {
    return m_hrcFactory;
  }
Gets the injected instance of a {@link HostRoleCommandFactory}.

@return a {@link HostRoleCommandFactory} instance (never {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/orchestrate/UpgradeContext.java