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 startup
completion but before transport listeners get start. Further by looking at
API-M APIManagerStartupPublisher class ( which is one of the
 implementation of ServerStartupHandler interface) I think it would be much
better to add local APIs before start transports.

Please refer the patch here[1]

[1] - https://github.com/wso2-dev/carbon4-kernel/pull/84

Thanks !

-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;    http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to