* Register onInit callback to PortalContainerPostCreateTask and register the servlet context with RootContainer.
* So that portal.war don't need PortalContainerConfigOwner listener. (extension project will need this listener)
* @see org.exoplatform.container.web.AbstractHttpServlet#afterInit(javax.servlet.ServletConfig)
*/
public void afterInit(final ServletConfig config) throws ServletException {
final PortalContainerPostCreateTask task = new PortalContainerPostCreateTask() {
public void execute(ServletContext context, PortalContainer portalContainer) {
onInit(config, portalContainer);
}
};