def METHOD_NAME(self):
    BaseQueueEntry.METHOD_NAME(self)
    self._failed = False
    qc = self.get_queue_controller()
    qc.connect(
        HWR.beamline.xrf_spectrum,
        "xrfSpectrumStatusChanged",
        self.xrf_spectrum_status_changed,
    )
    qc.connect(
        HWR.beamline.xrf_spectrum, "xrfSpectrumStarted", self.xrf_spectrum_started
    )
    qc.connect(
        HWR.beamline.xrf_spectrum, "xrfSpectrumFinished", self.xrf_spectrum_finished
    )
    qc.connect(
        HWR.beamline.xrf_spectrum, "xrfSpectrumFailed", self.xrf_spectrum_failed
    )