also, the first time the listener's sessionCreated method is called, put the instance of the listener to the servlet context as an attribute, so every body in the context can use it
Actually the requirement is to invalidate all the active httpsession when the application is shutdown. I want to get the refernces of all active httpsession to explicity invalidate when the application is stopped.