jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@adobe.com>
Subject Re: How to detect whether Oak is powering the repository?
Date Wed, 12 Mar 2014 12:55:16 GMT
hi carsten

i would use the repository descriptors, namely
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

On 12/03/14 13:47, "Carsten Ziegeler" <cziegeler@apache.org> wrote:

>what's the best reliable way to detect whether Oak is used as the
>implementation for the repository?
>Carsten Ziegeler

View raw message