Re: Registry instance aligned on Tomcat/Server lifecycle?

2019-05-15 Thread Mark Thomas
On 15/05/2019 13:48, Romain Manni-Bucau wrote: > Oki, I can hear it is a lot of work for a small gain, however, at least, > it is possible to ensure the disable method is re-callable (actually > setting the registry instance) and that there is an enableRegistry() > method. It is ok and cheap IMO

Re: Registry instance aligned on Tomcat/Server lifecycle?

2019-05-15 Thread Romain Manni-Bucau
Oki, I can hear it is a lot of work for a small gain, however, at least, it is possible to ensure the disable method is re-callable (actually setting the registry instance) and that there is an enableRegistry() method. It is ok and cheap IMO to have a global reference counting and force it to be

Re: Registry instance aligned on Tomcat/Server lifecycle?

2019-05-15 Thread Mark Thomas
On 15/05/2019 10:35, Romain Manni-Bucau wrote: > 9.0.20 got a disableRegistry method in Registry class (for JMX server > interaction), > I wonder if it is possible to enhance it a bit to make it instance bound > to the server instead of being global. > > It would enable to start/stop/restart

Registry instance aligned on Tomcat/Server lifecycle?

2019-05-15 Thread Romain Manni-Bucau
Hi guys, 9.0.20 got a disableRegistry method in Registry class (for JMX server interaction), I wonder if it is possible to enhance it a bit to make it instance bound to the server instead of being global. It would enable to start/stop/restart servers potentially deactivating/activating JMX