public SC registerServletContextListener ( Class < ? extends ServletContextListener > servletContextListener ) { __throwIfInitialized ( ) ; if ( servletContextListener == null ) throw new IllegalArgumentException ( "Event listener cannot be null" ) ; servletContextListenerSet . add ( servletContextListener ) ; return ( SC ) this ; }
Registers an EventListener .