Then a feature descriptor would be more appropriate. Regards Felix
-- Typos caused by my iPhone > Am 12.03.2014 um 18:33 schrieb "Carsten Ziegeler" <cziege...@apache.org>: > > Yepp, it's new API - but you never know if just the API bundle is deployed > (for whatever reasons). > > Regards > Carsten > > > 2014-03-12 18:00 GMT+01:00 Felix Meschberger <fmesc...@adobe.com>: > >> Hi >> >> Isn't this new behaviour exposed through API which is not available on >> non-Oak systems ? So just trying to instantiate a class implementing that >> new API would signal that. >> >> Regards >> Felix >> >>> Am 12.03.2014 um 17:10 schrieb Carsten Ziegeler <cziege...@apache.org>: >>> >>> This is for SLING-3279 which is about improved observation handling whe= > n >>> Oak is available. So I need to check, if Oak is used. In that case I ca= > n >>> use the improved handling and if not, revert to the old code. This allo= > ws >>> to have a single bundle to deploy as 95% of the code is the same. >>> The tests are run against both versions >>> >>> >>> 2014-03-12 17:06 GMT+01:00 Bertrand Delacretaz <bdelacre...@apache.org>= > : >>> >>>> Le 12 mars 2014 14:53, "Thomas Mueller" <muel...@adobe.com> a =E9crit = > : >>>>> >>>>> Hi, >>>>> >>>>> I'm wondering why would you want to check it? >>>> >>>> I've been doing that as well in sling tests that can run against vario= > us >>>> repositories, to make sure the test setup is correct. If the tests bre= > ak >>>> sometimes in the future we can fix them, no big deal. >>>> >>>> Bertrand >>> >>> >>> >>> -- >>> Carsten Ziegeler >>> cziege...@apache.org > > > --=20 > Carsten Ziegeler > cziege...@apache.org > > --f46d0444ea9935be9104f46c3898--