Extract common parent interface

for InstallerListener and UninstallerListener in order to parameterize Class.