|A modern depiction of a resonator or cavity resonator, a body with a hole in it, colored black on the inside, that absorbs radiation when cold and emits radiation when hot. |
The term “resonator” seems to have been introduced by German physicist Max Planck in 1895 during his work on the study of the absorption and emission of radiation by an electrically charged system having the same eigenfrequency as the radiation; the system, it seems, being the “resonator”, as he called it. 
In a modern sense, the terms resonator, cavity resonator, and black body, seem to the nearly synonymous; although this needs to be fact checked.
It could be the case that the term "black body" is used when the resonator is cold and acts as a perfect absorber. It also could be the case that Planck's usage of the term "resonator" has something to do with the system being electrically charged with a certain frequency.
1. Gribben, John. (2002). Quantum Physics: a Beginner’s Guide to the Subatomic World (pg. 13). DK Publishing.
2. Mehra, Jagdish and Rechenberg, Helmut. (2000). The Historical Development of Quantum Theory (resonator, 27+ pgs; “resonator” coined by Planck, pg. 34). Springer.
● Bryan, G.H. (1906). “The Entropy of Radiation” (resonator, pgs. iv), Nature, 74.