DynamicClassLoader usage and best practices

2014-01-07 Thread Chetan Mehrotra
Hi, Sling provides support for DynamicClassLoaderManager which is used by various bundle which need to instantiate classes from string class names in OSGi env. As per current logic the DynamicClassLoaderManager service factory would be unregistered and re registered if any of the bundle state

[jira] [Updated] (SLING-3300) Add an API to create replication agent (configuration)

2014-01-07 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3300: --- Attachment: SLING-3300.patch second patch with updated tests Add an API to create

Sling Replication patches

2014-01-07 Thread Tommaso Teofili
Hi all, could anyone please have a look at the Sling Replication open Jira issues (SLING-3298, SLING-3299, SLING-3300) and eventually apply the provided patches? Thanks and have a nice day, Tommaso

[jira] [Created] (SLING-3308) [Javascript] Upgrading Rhino version from 1.6R2 to 1.7R4

2014-01-07 Thread rohit (JIRA)
rohit created SLING-3308: Summary: [Javascript] Upgrading Rhino version from 1.6R2 to 1.7R4 Key: SLING-3308 URL: https://issues.apache.org/jira/browse/SLING-3308 Project: Sling Issue Type:

[jira] [Updated] (SLING-3308) [Javascript] Upgrading Rhino version from 1.6R2 to 1.7R4

2014-01-07 Thread rohit (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rohit updated SLING-3308: - Attachment: SLING-3308.patch Patch of pom.xml [Javascript] Upgrading Rhino version from 1.6R2 to 1.7R4

[jira] [Created] (SLING-3309) Allow flushing of external caching systems

2014-01-07 Thread Marius Petria (JIRA)
Marius Petria created SLING-3309: Summary: Allow flushing of external caching systems Key: SLING-3309 URL: https://issues.apache.org/jira/browse/SLING-3309 Project: Sling Issue Type:

Re: [jira] [Resolved] (SLING-2956) Store compiled classes in a cluster aware way

2014-01-07 Thread Felix Meschberger
Hi all Somehow I missed this when it was current … Yet, I want to quickly pick it up for discussion: Am 09.07.2013 um 05:51 schrieb Carsten Ziegeler (JIRA) j...@apache.org: [

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-07 Thread Konrad Windszus
Hi Justin, thanks for the additions. It would be great if you could extend the documentation in the wiki with the following information: - which injectors are available for which adaptables - the order in which the injectors are called - some more information about @Projection (when it is

Jenkins build is back to normal : sling-trunk-1.7 #454

2014-01-07 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/454/changes

Jenkins build is back to normal : sling-trunk-1.7 » Apache Sling Health Check Webconsole Plugin #454

2014-01-07 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.hc.webconsole/454/changes

Jenkins build is back to normal : sling-trunk-1.6 » Apache Sling Health Check Webconsole Plugin #2084

2014-01-07 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.hc.webconsole/2084/changes

Jenkins build is unstable: sling-trunk-1.6 » Apache Sling Sample Integration Tests #2084

2014-01-07 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.testing.samples.integrationtests/2084/

Jenkins build is unstable: sling-trunk-1.6 #2084

2014-01-07 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/2084/changes

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-07 Thread Justin Edelson
Hi Konrad, On Tue, Jan 7, 2014 at 10:42 AM, Konrad Windszus konra...@gmx.de wrote: Hi Justin, thanks for the additions. It would be great if you could extend the documentation in the wiki with the following information: - which injectors are available for which adaptables done. - the

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-07 Thread Bertrand Delacretaz
Hi, On Tuesday, January 7, 2014, Justin Edelson wrote: ...What I'm in the process of doing is changing the OSGiServiceInjector so that if the adaptable is a request, it uses SlingScriptHelper intead of the bundle context so at least the references are released if you use a request as the

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-07 Thread Justin Edelson
Hi, On Tue, Jan 7, 2014 at 11:50 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: Hi, On Tuesday, January 7, 2014, Justin Edelson wrote: ...What I'm in the process of doing is changing the OSGiServiceInjector so that if the adaptable is a request, it uses SlingScriptHelper intead of

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-07 Thread Georg Henzler
Hi Justin, I have a solution for the unget problem - for a recent project I have created a class OsgiServiceProxy (also used for the howm-grown injection mechanism) that allows to use a service without having access to the request (using java.lang.reflect.Proxy, see [1],[2]). The proxy

Setting the sling.core.current.servletName request attribute

2014-01-07 Thread Felix Meschberger
Hi The Sling Engine sets the sling.core.current.servletName request attribute to the name of the Servlet (absolut path in case of Scripts) before calling the servlet or script. In essence this means tha the name of the servlet/script to be called is not available to the filters executed before

[jira] [Commented] (SLING-3309) Allow flushing of external caching systems

2014-01-07 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864596#comment-13864596 ] Felix Meschberger commented on SLING-3309: -- Care to describe what this is about

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-07 Thread Justin Edelson
Hi Georg- Thanks for the suggestion. I think I found a way to handle this with PhantomReferences. Justin On Tue, Jan 7, 2014 at 11:47 AM, Georg Henzler sl...@cq-eclipse-plugin.net wrote: Hi Justin, I have a solution for the unget problem - for a recent project I have created a class

Re: Setting the sling.core.current.servletName request attribute

2014-01-07 Thread Alexander Klimetschek
On 07.01.2014, at 11:19, Felix Meschberger fmesc...@adobe.com wrote: The Sling Engine sets the sling.core.current.servletName request attribute to the name of the Servlet (absolut path in case of Scripts) before calling the servlet or script. In essence this means tha the name of the