Re: [RT] Sling Models as scoped Dependency Injection Framework

2014-06-30 Thread Justin Edelson
Hi Stefan, The big problem IMHO with injecting by class vs. name is that by class is too ambigious in many cases. For example, in AEM, it is relatively common to want to inject a Page object, but in fact there are two different page objects which come into play (currentPage and resourcePage) and

RE: [RT] Sling Models as scoped Dependency Injection Framework

2014-06-30 Thread Stefan Seifert
://issues.apache.org/jira/browse/SLING-3718 stefan -Original Message- From: justinedel...@gmail.com [mailto:justinedel...@gmail.com] On Behalf Of Justin Edelson Sent: Monday, June 30, 2014 6:16 PM To: dev@sling.apache.org Subject: Re: [RT] Sling Models as scoped Dependency Injection Framework Hi