Roy Teeuwen wrote
> Hey,
> 
> Thanks all for the responses. 
> 
> @Paul I would indeed ideally use the HTTP request, but there is no http 
> request for the service that I am creating, but indeed that would be the best 
> option.
> 
> @Jason Yeah, I am still using the getAdminResourceResolver because it is for 
> AEM 5.6.1. When the upgrade is done, these will be removed ;)
> 
> @Carsten Wow, didn’t know about that last thing, then what is the use case of 
> the isLive function? Where would you use it then?
> 

The isLive is there to check whether you can still use the resource
resolver, for example you got a resource resolver and while you're using
it, the JCR provider is removed (or updated). In that case your resolver
is not live anymore as one provider is not live anymore.

Regards
Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org

Reply via email to