jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mete Atamel <mata...@adobe.com>
Subject Re: Generalize MicroKernelImpl#toJson method?
Date Tue, 30 Oct 2012 12:39:33 GMT

On 10/30/12 1:31 PM, "Stefan Guggisberg" <stefan.guggisberg@gmail.com>

>how about providing a callback which returns the content hash of a
>NodeState instance? the callback could return null if it can't/doesn't
>support it.

I need to see the code in order to totally understand what you mean by
callback but the main thing I care about here is code reuse. So, as long
as toJson method can be called from other MicroKernel implementations
without having to provide a Repository/RevisionStore, I'm happy.


View raw message