Hi,

No it isn't. Commit hooks haven't been designed for this type of dynamicity and generality. Exposing them at this layer has been considered way to dangerous and a breach of modularity.

What has been done in the past for use cases requiring commit hook functionality on one hand and some part of dynamicity on the other, was to to specialise the use case. Index editors are one example here.

Michael

On 9.9.16 6:04 , Ian Boston wrote:
Hi,
Is it possible write a CommitHook as an OSGI Component/Service and for Oak
to pick it up ?
The Component starts and gets registered as a service, but Oak doesn't
appear to pick it up.
If its not possible to add a CommitHook in this way, what is the best way
of doing it from outside the oak-core bundle ?
Best Regards
Ian

Reply via email to