Hi Dishara,
It does,
All you need to do, in a OSGI Component annotated with @Component is add a
private property and annotate it with @Reference. Eg
@Reference
private ResourceResolver resourceResolver;
When the component is activated, the ResourceResolver implementation will
in set.
hTH
Ian
On Friday, July 5, 2013, Dishara Wijewardana wrote:
> Hi Ian,
> Does Sling has a Resource Resolver for Cassandra already ? I am in the
> process of re factoring the code based on code reviews.
>
> public class CassandraResourceResolver implements ResourceResolver {
> You wont need this implementation. ResourceResolver is implemented for
> you, all you need to implement is the resource provider.
>
> What is the name of the resource resolver we already have ? So that I can
> use it directly.
>
>
> --
> Thanks
> /Dishara
>