[Webwork-devel] Aware-interfaces
Brought to you by:
baldree,
rickardoberg
From: Rickard <ri...@mi...> - 2002-03-11 13:07:46
|
Hey I've been thinking about the *Aware interfaces. They are used to access=20 context which the action executes in. However, I'm more and more leaning=20 towards deprecating these in favor of accessing=20 ActionFactory.getContext() directly. This use of context should not=20 really have an impact on what the class looks like since they are=20 processing-oriented and not type-oriented. Plus, accessing=20 ActionFactory.getContext() directly requires less code. The only reason I can see to keep the *Aware interfaces is that it makes=20 it easy to see what dependencies a particular action uses (e.g. servlet=20 or locale or similar). Opinions and thoughts on this? /Rickard --=20 Rickard =D6berg Author of "Mastering RMI" Chief Architect, TheServerSide.com The Middleware Company - We Build Experts! |