[FrameworkBundle] make RegisterKernelListenersPass reusable