bug #4106 :  The lifecycle of the session management service is now managed by the IoC container (Spring). In order to remove any use of the service implementation (SessionManager), some additionals methods are defined in the session management interface. By letting the session management lifecycle done by the IoC container, we can then specify specific dependency on another IoC managed beans like the scheduler. As the SessionManager depends on SilverStatisticManager, SilverStatisticManager single instance is now also managed by the IoC container. Yet, as the session management service and the SilverStatisticManager lifecycles are managed by the IoC container, they can be correctly perform their shutdown process before the JEE containers run their own shutdown process (within which the JNDI service is stopped, service that is used to fetch notification topics).
Merge branch 'bug-4106' of https://github.com/mmoqui/Silverpeas-Core into mmo-bug4106
bug #4106 :  In order to send statistics on sessions closed at Silverpeas shutdown, the remaining opened sessions cleaning up is hooked to the runtime shutdown
Merge branch 'bug-4106' of https://github.com/mmoqui/Silverpeas-Core into mmo-bug4106
on bug #4106, fixing test
Merge branch 'core-5.11.x' of github.com:Silverpeas/Silverpeas-Core into core-5.11.x