Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342971

Summary: Consider moving the RWTLifeCycle to session scope
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2011-04-15 09:46:18 EDT
The RWTLifeCycle (and the under way being threadless life cycle, bug 341763) have application scope. This leads to code that is hard to read as all state is read and written to the session or request by using attributes. If the life cycle had session scope, its state could be held in fields which would lead to better readable code.
To maintain backward compatibility, the phase listener will probably have to remain in application scope.
What do you think?