Wonder if the same can be accomplished in Spring.NET?
Structuremap scans the assemblies and later on, if there are more than one implementation of an interface, it can be fetched by ObjectFactory.GetAllInstancesOf<some type>();
Utilizing such pattern can give you really big advantages over the normal Visitor Pattern etc.
How can it be solved in Spring.NET?
One interface, many implementations... get by type, not name![]()


Reply With Quote