Hi, >My idea here is that any pluggable components passed to a >ContentRepositoryImpl or other core class should be already >initialized or be able to lazily initialize itself when needed.
I understand the concern about the lifecycle, but I would also like to avoid reading from the repository in constructors. For QueryIndexProvider, the simplest solution seems to be if init() is called lazily (on demand) within the implementation (only when needed). That seems to be sufficient. I will update the code accordingly. Regards, Thomas
