Hi,
in the Restlet extension I've included a propsal to optionally give an
ObjectFactory (it's an interface), which could create or whereever get
the root resource objects or provider objects. If no ObjectFactory was
given, or it returns null, the default creation mechanism is used.
best regards
Stephan