|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.Wrapper | +--org.objectweb.jac.aspects.session.SessionWrapper
This wrapper handles the session for each object within the JAC system.
handleSession(Interaction)
,
Serialized FormField Summary | |
protected static Hashtable |
applications
Stores the applications (sid -> applicationName) |
protected static Hashtable |
sessions
Stores the sessions and their contextual attributes (sid -> saved attributes). |
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac |
Constructor Summary | |
SessionWrapper(AspectComponent ac)
|
Method Summary | |
void |
clearCurrentSessionAttribute(String name)
Removes a session attribute. |
Object |
handleSession(Interaction interaction)
Handles sessions for the wrapped method. |
Methods inherited from class org.objectweb.jac.core.Wrapper |
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static Hashtable sessions
protected static Hashtable applications
Constructor Detail |
public SessionWrapper(AspectComponent ac)
Method Detail |
public void clearCurrentSessionAttribute(String name)
The given attribute will be forgotten for the current interaction and for all the forthcoming interactions of the same session. This can be used for instance to log-out a user.
name
- the name of the attribute to forgetpublic Object handleSession(Interaction interaction)
The session handling algorithm is:
attr("Session.sid")
-
is not defined, do nothingsessions
field
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |