LPS-40249

Since registration is based on Spring context, I moved registration inside `SpringHotDeployListener`. Hope this make sense :)