jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: How to detect whether Oak is powering the repository?
Date Wed, 12 Mar 2014 12:59:27 GMT
Perfect, thanks Angela

Carsten


2014-03-12 13:55 GMT+01:00 Angela Schreiber <anchela@adobe.com>:

> hi carsten
>
> i would use the repository descriptors, namely
> javax.jcr.Repository#REP_NAME_DESC.
> the value exposed by the oak repo is "Apache Jackrabbit Oak" and we should
> probably expose that in a constant somewhere (e.g.
> o.a.j.oak.api.Descriptors), so you
> don't have to hard code it in your check.
>
> kind regards
> angela
>
>
> On 12/03/14 13:47, "Carsten Ziegeler" <cziegeler@apache.org> wrote:
>
> >Hi,
> >
> >what's the best reliable way to detect whether Oak is used as the
> >implementation for the repository?
> >
> >Thanks
> >Carsten
> >--
> >Carsten Ziegeler
> >cziegeler@apache.org
>
>


-- 
Carsten Ziegeler
cziegeler@apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message