this is done to give osgi a chance to inject serives to restlet; should be changed to some javax.inject approach
(like using InjectedServerResource) once this is available.
Concurrency note from parent class: instances of this class or its subclasses can be invoked by several threads at
the same time and therefore must be thread-safe.