HI all,
I am in a process of getting MapEntries using CommonResourceResolverFactoryImpl defined in org.apache.sling.resourceresolver.impl. But I didn't succeed in getting hold of CommonResourceResolverFactoryImpl.
Any advice in this regards highly appreciated.
Thanks in advance
LM
Solved! Go to Solution.
Views
Replies
Total Likes
Hi LM,
You are trying to get an impl which is normally forbidden in the OSGi world.
Use an interface org/apache/sling/api/resource/ResourceResolver to get the entries you need.
Thanks,
Peter
Views
Replies
Total Likes
Hi LM,
You are trying to get an impl which is normally forbidden in the OSGi world.
Use an interface org/apache/sling/api/resource/ResourceResolver to get the entries you need.
Thanks,
Peter
Views
Replies
Total Likes
Hi Peter,
Thanks for your speedy response.
After looking into org.apache.sling.jcr.resource-2.0.6.jar codebase, it looks like JcrResourceResolverWebConsolePlugin class contain an entry like
MapEntries mapEntries = this.resolverFactory.getMapEntries();. Ultimately I need to get hold of the MapEntries. Looks like
MapEntries getMapEntries()
{
return this.mapEntries;
} inside JcrResourceResolverFactoryImpl is of package private scope.
Please let me know how to tackle situation.
Thanks
LM
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies