> I haven't looked in detail, but IIUC what you're suggesting allows for > injecting OSGi services in Jackrabbit instead of having to configure > them in the repository.xml?
Yup > If I'm correct, I agree that's useful. If that can be done in a > backwards compatible way, I like the idea. The proposed approach is backward compatible > One issue might be the startup order of such things, would you need to > guarantee that all such pluggable services are up before the > repository starts, or is that handled cleanly? Yes that too is handled. Currently it relies on Felix Dependency Manager to coordinate repository startup order. If required it can be managed via simple ServiceTracker implementation also. The startup logic first uses BeanConfigVisitor to collect information about services which need to be injected and then configures a DependencyManager with those services as dependencies. regards Chetan
