[jira] [Commented] (SLING-4352) The ResourceResolver passed to SlingScripts should not be closeable

2015-09-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14936513#comment-14936513 ] Carsten Ziegeler commented on SLING-4352: - While trying to implement this I noticed that a proxy

[jira] [Commented] (SLING-4352) The ResourceResolver passed to SlingScripts should not be closeable

2015-09-29 Thread Dirk Rudolph (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14934764#comment-14934764 ] Dirk Rudolph commented on SLING-4352: - What about adding a ResourceResolverWrapper to both API and

[jira] [Commented] (SLING-4352) The ResourceResolver passed to SlingScripts should not be closeable

2015-09-29 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14934968#comment-14934968 ] Carsten Ziegeler commented on SLING-4352: - I think nowadays the overhead of reflection/proxy are

[jira] [Commented] (SLING-4352) The ResourceResolver passed to SlingScripts should not be closeable

2015-09-28 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14934631#comment-14934631 ] Carsten Ziegeler commented on SLING-4352: - Yes we could do a wrapper and we've also discussed

[jira] [Commented] (SLING-4352) The ResourceResolver passed to SlingScripts should not be closeable

2015-09-28 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14933592#comment-14933592 ] Carsten Ziegeler commented on SLING-4352: - We should create a dynamic proxy which simply ignores

[jira] [Commented] (SLING-4352) The ResourceResolver passed to SlingScripts should not be closeable

2015-09-28 Thread Dirk Rudolph (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14933895#comment-14933895 ] Dirk Rudolph commented on SLING-4352: - You could als expose an abstract ResourceResolverWrapper in the

[jira] [Commented] (SLING-4352) The ResourceResolver passed to SlingScripts should not be closeable

2015-09-28 Thread Dirk Rudolph (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14933272#comment-14933272 ] Dirk Rudolph commented on SLING-4352: - This is an urgent issue at least with AEM 6.1 base on Servlet

[jira] [Commented] (SLING-4352) The ResourceResolver passed to SlingScripts should not be closeable

2015-08-10 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14680091#comment-14680091 ] Carsten Ziegeler commented on SLING-4352: - I think this is also true for the RR