Re: [Architecture] Invoke ServerStartupHandlers before start transports

2014-08-27 Thread Afkham Azeez
+1 On Tue, Aug 26, 2014 at 7:16 PM, Sameera Jayasoma same...@wso2.com wrote: I believe this interface should be renamed to *ServerStartupObserver*. Lets deprecate the interface ServerStartupHandler. The interface name ServerStartupHandler does not sound correct to me. Since all the method

Re: [Architecture] Invoke ServerStartupHandlers before start transports

2014-08-26 Thread Sagara Gunathunga
On Mon, Aug 25, 2014 at 4:43 AM, Anjana Fernando anj...@wso2.com wrote: On Sat, Aug 23, 2014 at 6:16 AM, Afkham Azeez az...@wso2.com wrote: Some handlers would need to be called after transports are started. So, we could modify the interface to behave like the

Re: [Architecture] Invoke ServerStartupHandlers before start transports

2014-08-24 Thread Anjana Fernando
On Sat, Aug 23, 2014 at 6:16 AM, Afkham Azeez az...@wso2.com wrote: Some handlers would need to be called after transports are started. So, we could modify the interface to behave like the Axis2ConfigurationContextObserver, and have pre post transport initialization methods. +1, as I

[Architecture] Invoke ServerStartupHandlers before start transports

2014-08-22 Thread Sagara Gunathunga
According to current StartupFinalizerServiceComponent implementation, it calls registered ServerStartupHandlers after starting transports but IMHO it would be better to invoke ServerStartupHandlers before server start any transports. We have a requirement to perform few tasks just before server