2. In this Act "officer" means any person who has undertaken 2[service of the Republic] and who immediately prior to undertaking such service, was paid and employed solely by a local authority and, but for undertaking such service, would in the ordinary course have continued in such employment 3[* * *].