I want to write a facade AccessManager implementation that will delegate to a bundle-provided service. The idea would be to register one or more bundles providing AccessManager implementations and be able to configure the paths and/or nodetypes that they control, though initially it will probably just delegate to one service (if available), and fallback to SimpleAccessManager logic if no AccessManager service is available.

Since the AccessManager implementation is instantiated by Jackrabbit directly (has no Bundle- or ComponentContext), how can I get a handle to the Felix framework to lookup/listen for services? Would this even be advisable?

Regards,
Rory

Reply via email to