Bordet, Simone
2002-02-11 11:37:02 UTC
Hi Carlos,
I'm integrating the SSL support, and take a look to the management interface of the HTTPAdaptor, and I have some question:
1) setProcessorName takes an ObjectName. IMHO should take a String, in order to be useful for the management interface, otherwise from the adaptor you cannot stop(), change the processor name, and start() it again, since you cannot create ObjectName and pass them to the adaptor. Am I missing something ?
2) restart(). Isn't enough to have start() and stop() ? For consistency changing parameters when the adaptor is running should not be done. For example, you start the adaptor, then you go to the management interface and change the port, then you forget to restart() it. Another user will see the new port, but in reality it is still running on the old one... IMHO start() and stop() should do the job.
Simon
I'm integrating the SSL support, and take a look to the management interface of the HTTPAdaptor, and I have some question:
1) setProcessorName takes an ObjectName. IMHO should take a String, in order to be useful for the management interface, otherwise from the adaptor you cannot stop(), change the processor name, and start() it again, since you cannot create ObjectName and pass them to the adaptor. Am I missing something ?
2) restart(). Isn't enough to have start() and stop() ? For consistency changing parameters when the adaptor is running should not be done. For example, you start the adaptor, then you go to the management interface and change the port, then you forget to restart() it. Another user will see the new port, but in reality it is still running on the old one... IMHO start() and stop() should do the job.
Simon