Perfect, thanks Angela Carsten
2014-03-12 13:55 GMT+01:00 Angela Schreiber <[email protected]>: > 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" <[email protected]> wrote: > > >Hi, > > > >what's the best reliable way to detect whether Oak is used as the > >implementation for the repository? > > > >Thanks > >Carsten > >-- > >Carsten Ziegeler > >[email protected] > > -- Carsten Ziegeler [email protected]
