public final void init() throws ServletException {
getServletContext().log(
"Initializing " + getClass().getSimpleName() + " '"
+ getServletName() + "'");
super.init();
CometConfigMetadata cometConfig = readCometConfig();
initHandlerMapping(cometConfig);
initSocketManager(cometConfig);
if (this.logger.isInfoEnabled()) {
this.logger.info("SocketDispatcherServlet '" + getServletName()
+ "': initialization started");