KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > terracotta > session > util > LifecycleEventMgr


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.terracotta.session.util;
5
6 import com.terracotta.session.Session;
7
8 public interface LifecycleEventMgr {
9
10   void fireSessionCreatedEvent(Session s);
11
12   void fireSessionDestroyedEvent(Session s);
13
14   void unbindAttribute(Session sess, String JavaDoc name, Object JavaDoc val);
15
16   void bindAttribute(Session sess, String JavaDoc name, Object JavaDoc val);
17
18   void setAttribute(Session sess, String JavaDoc name, Object JavaDoc val);
19   
20   void removeAttribute(Session sess, String JavaDoc name, Object JavaDoc val);
21   
22   void replaceAttribute(Session sess, String JavaDoc name, Object JavaDoc oldVal, Object JavaDoc newVal);
23 }
24
Popular Tags