* Initializes the Clustered Http Session filter
*/
private void initClusteredHttpSessionFilter(ServletContext servletContext, EnumSet<DispatcherType> disps) {
log.debug("Registering Clustered Http Session Filter");
disps = EnumSet.of(DispatcherType.REQUEST, DispatcherType.FORWARD, DispatcherType.ASYNC, DispatcherType.INCLUDE);
servletContext.addListener(new SessionListener());
WebFilter webFilter = new WebFilter() {
@Override
protected HazelcastInstance getInstance(Properties properties) throws ServletException {
return CacheConfiguration.getHazelcastInstance();
}