|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the configuration interface of the session aspect.
SessionAC
Method Summary | |
void |
declareStoredAttributes(String[] attributes)
Add some attributes to the list of attributes of the context to be saved and restored by the session aspect. |
void |
definePerSessionObjects(String classExpr,
String objectExpr)
This configuration method defines per-session objects. |
void |
defineSessionHandlers(String classExpr,
String methodExpr,
String objectExpr)
This configuration method tells which methods of which objects must handdle the sessions (wrapped by the session wrapper). |
Method Detail |
public void defineSessionHandlers(String classExpr, String methodExpr, String objectExpr)
classExpr
- a class pointcut expressionmethodExpr
- a method pointcut expressionobjectExpr
- an object pointcut expressionSessionWrapper
public void definePerSessionObjects(String classExpr, String objectExpr)
A per-session object is an object that have a different state depending on the session. Each user will see a different state for the same object.
Warning: this feature is not compatible with persistent objects!
classExpr
- a class pointcut expressionobjectExpr
- an object pointcut expressionSessionWrapper
public void declareStoredAttributes(String[] attributes)
attributes
- names of attributes
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |