Michael Hunger wrote:
> The question was about dependencies and visibilities. So the code for 
> creating the resolutions (that is currently contained in the resolver) 
> but is specific to certain models should be extracted as well.

Still not quite following. Got example?

> But obviously not to the model itself. So the question would be if a 
> creation Factory method in the Resolution would be the best or a 
> separate Resolver class.

Well, in general I would want to keep SPI as small as possible (it *is* 
a PI after all), so not sure there's a point to keep that code there 
rather than runtime. But either way works. Our general trend is to get 
as much as possible into core.runtime, and only "leak" to SPI or API 
when we absolutely have to. It's a matter of encapsulation and 
maintainability.

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to