01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.terracotta.session.util;
05:
06: import com.terracotta.session.Session;
07:
08: public interface LifecycleEventMgr {
09:
10: void fireSessionCreatedEvent(Session s);
11:
12: void fireSessionDestroyedEvent(Session s);
13:
14: void unbindAttribute(Session sess, String name, Object val);
15:
16: void bindAttribute(Session sess, String name, Object val);
17:
18: void setAttribute(Session sess, String name, Object val);
19:
20: void removeAttribute(Session sess, String name, Object val);
21:
22: void replaceAttribute(Session sess, String name, Object oldVal,
23: Object newVal);
24: }
|