SpringBootstrapper - how to port it to CAL Feb09 version?

Jul 16, 2009 at 3:00 PM

Based on http://blogs.infosupport.com/blogs/willemm/archive/2008/09/16/Using-Spring.NET-as-IOC-container-for-Composite-WPF.aspx  by Willem Meints, one of the major changes in CAL was the replacement of module enumerators with the module catalog. 

what exactly needs to be changed in the CompositeWPFContrib.Composite.SpringExtensions project?

Does Spring support generics?

is it possible to access the container programmatically?


Jul 16, 2009 at 3:14 PM

at this point the function

protected virtual IApplicationContext CreateContainer()


     return ContextRegistry.GetContext();


gives me the exception: "context name passed to ContextRegistry.GetContext cannot be null or empty"

Jul 20, 2009 at 1:17 PM
Edited Jul 21, 2009 at 8:21 AM

At this point,



shell = Container.GetObject("Shell") as Shell;

line is throwing a NoSuchObjectException - no object named Shell is defined