@Override public final void init(final FilterConfig filterConfig) throws ServletException { this.config = WebFilterConfig.create(filterConfig, this.properties); // Register the WebFilter with the ServletContext so SessionListener can look it up. The name // here is WebFilter.class instead of getClass() because WebFilter can have subclasses servletContext = filterConfig.getServletContext(); servletContext.setAttribute(WEB_FILTER_ATTRIBUTE_KEY, this); clusteredSessionService = new ClusteredSessionService(this.config); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest(this.config.toString()); } }
@Override public final void init(final FilterConfig filterConfig) throws ServletException { this.config = WebFilterConfig.create(filterConfig, this.properties); // Register the WebFilter with the ServletContext so SessionListener can look it up. The name // here is WebFilter.class instead of getClass() because WebFilter can have subclasses servletContext = filterConfig.getServletContext(); servletContext.setAttribute(WEB_FILTER_ATTRIBUTE_KEY, this); clusteredSessionService = new ClusteredSessionService(this.config); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest(this.config.toString()); } }