Since introduction to Runtime v2, ComponentManager has a lot of new methods, some of them are a bit to complex like reset for instance.
Generally, this interface (which is about 500 lines) is too complex. We want to remove/deprecate some of its method, and rework others.
For instance, what we can do:
- remove reset method or apply another mechanism, because reset stop components, but don't start them at then end.
- addComponentListener and removeComponentListener methods seem not used, we can probably deprecate/remove them (same thing for ComponentListener)
- unregisterByLocation and hasComponentFromLocation has been deprecated along with
NXP-19326-> fix tests which use them
- extract Listener and LifeCycleHandler from this class