I just want to know if there is a particular reason why the ServiceListener fills the service manager after all modules are loaded. (Reacts LOAD_MODULES_POST event).
Why could it not fill the service manager everytime a module is loaded?
This would be really helpful because now it is important that any listener who listens on the LOAD_MODULES_POST event is registered after the service listener priority. Otherwise you could not get any dependency from the service manager.
A simple solving would be to register the ServiceListener with a very high priority but that would more a hot fix than a real solution.
If there is no particular reason for it and it would also be possible to fill the service manager while loading the modules, I would be happy to submit a pull request.
I just want to know if there is a particular reason why the ServiceListener fills the service manager after all modules are loaded. (Reacts LOAD_MODULES_POST event).
Why could it not fill the service manager everytime a module is loaded?
This would be really helpful because now it is important that any listener who listens on the LOAD_MODULES_POST event is registered after the service listener priority. Otherwise you could not get any dependency from the service manager.
A simple solving would be to register the ServiceListener with a very high priority but that would more a hot fix than a real solution.
If there is no particular reason for it and it would also be possible to fill the service manager while loading the modules, I would be happy to submit a pull request.