Hi Vidar, Vidar Ramdal schrieb: > Hi all; > > While waiting for ResourceResolverFactory, I have been trying to write > a ResourceProvider for other workspaces [1]. It's not trivial, because > I want to use much of the resolution and rendering mechanisms that > exist, while getting the content from a non-default JCR source. > > This has led me to implementing a custom JcrResourceResolverFactory, > that creates custom JcrResourceResolvers. I'd like to extend > JcrResourceResolverFactoryImpl and overriding getResourceResolver, but > I'm unable to do so because rootProviderEntry is private, and has no > getter. > > So: Can I introduce a protected getRootProviderEntry() in > JcrResourceResolverFactoryImpl, please?
Since the JcrResourceResolverFactoryImpl is not currently exported and will have to be rewritten anyway, should we go the ResourceResolverFactory route, I think it is ok to introduce a protected getter for the rootProviderEntry. > If you're OK with it, I'll create a JIRA task and a patch. Would be great. Thanks. Regards Felix
