[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-07-07 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15366344#comment-15366344 ] Radu Cotescu commented on SLING-5753: - I have to agree with Justin's comment \[0\]: implementing this

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Jordan Shurmer (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15308329#comment-15308329 ] Jordan Shurmer commented on SLING-5753: --- I'm just adding my own opinion to the conversation though,

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Jordan Shurmer (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15308322#comment-15308322 ] Jordan Shurmer commented on SLING-5753: --- I see. So the concern is that developers would assume that

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15308307#comment-15308307 ] Justin Edelson commented on SLING-5753: --- Aside from this being a slippery slope, my larger concern

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Jordan Shurmer (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15308301#comment-15308301 ] Jordan Shurmer commented on SLING-5753: --- I'm having trouble understanding why this would be a bad

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15308250#comment-15308250 ] Justin Edelson commented on SLING-5753: --- [~lsantha] where would you suggest this be documented? >

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Levente Santha (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15308000#comment-15308000 ] Levente Santha commented on SLING-5753: --- Thank you guys for your feedback. The point I wanted to

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Vlad Bailescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15307916#comment-15307916 ] Vlad Bailescu commented on SLING-5753: -- [~lsantha], I also believe any hybrid classes (that want to

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15307901#comment-15307901 ] Justin Edelson commented on SLING-5753: --- +1 to [~kwin]'s comments. Use @PostConstruct. > Use.init()

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Levente Santha (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15307839#comment-15307839 ] Levente Santha commented on SLING-5753: --- 1. If a Sling Model class implements the Use interface or

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15307794#comment-15307794 ] Konrad Windszus commented on SLING-5753: It just reduces flexibililty of those models (because

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Levente Santha (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15307787#comment-15307787 ] Levente Santha commented on SLING-5753: --- Is there any other conflict between the two approaches why

[jira] [Commented] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

2016-05-31 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1530#comment-1530 ] Konrad Windszus commented on SLING-5753: IMHO you should either use the Use interface or Sling