The wires are soldered on, thenheatshrink sealed at the end with a pp3 connector for the square 9v type battery.
eBay