The question I have is how do I specify and load these at runtime? The most obvious answer is to have a custom xml file that specifies which provider fulfills each role. I could write (and already have done so) a loader to read an XML file and configure the system. But, instead of having this in a separate file, would it be a complete bastardization of the intention of IoC (XWork edition) to use it to automatically configure the providers?
Why does this seem bad? Because the primary intention of IoC is to wire business components whereas these providers will probably never be used outside the real component, the persistence manager. Instead, it seems like I am too lazy to write a loader to configure the system.
Cheers, matthew
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork