1 16 package org.apache.cocoon.mail; 17 18 import javax.servlet.http.HttpSessionBindingEvent ; 19 import javax.servlet.http.HttpSessionBindingListener ; 20 import org.apache.avalon.framework.context.Context; 21 22 33 public class MailContextHttpSession extends MailContext implements HttpSessionBindingListener { 34 35 40 public MailContextHttpSession(Context parent) { 41 super(parent); 42 } 43 44 45 50 public void valueBound(HttpSessionBindingEvent event) { 51 getLogger().info("value bound " + String.valueOf(event)); 52 } 53 54 55 60 public void valueUnbound(HttpSessionBindingEvent event) { 61 getLogger().info("value unbound " + String.valueOf(event)); 62 63 this.removeStore(); 65 } 66 } 67 68 | Popular Tags |