[Webwork-devel] ActionContext refactoring
Brought to you by:
baldree,
rickardoberg
From: Rickard <ri...@mi...> - 2002-03-12 12:59:38
|
I have now refactored ActionContext out of ActionFactory and into its=20 own class. The AC has static methods that allow actions to access=20 context for use in processing. These methods duplicate the functionality of the *Aware-interfaces, e.g.=20 "SessionAware"/"ApplicationAware". The *Aware-interfaces will most=20 likely be deprecated in the future, and the preferred way to access=20 context is to use ActionContext directly. This will make writing actions=20 simpler and cleaner, and will remove the coupling of what actions do=20 from what they look like (i.e. what interfaces they implement). /Rickard --=20 Rickard =D6berg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Experts! |