Patches item #1247778, was opened at 2005-07-30 00:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1247778&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Igor (ivaynberg)
Assigned to: Nobody/Anonymous (nobody)
Summary: make ioc container integration cleaner

Initial Comment:
 currently delegating the creation of the webapplication
object to an ioc container is difficult due to how
wicketservlet is structured.

IMHO there are two problems
1) there is no separate createApplication() factory
method in the servlet that is easily overridable
2) ioc integration entails either subclassing the
servlet or creating a delegate

I propose we introduce an application object factory
interface and make the default implementation work like
the servlet works now (using a context param to locate
app class name). the factory can be configured using a
context param to locate the factory's class name.

This way we can provide factories for ioc container
integration out of the box and make it easy for the
user to create their own:


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1247778&group_id=119783


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to