So I create a Router, create some Directory instances with a given
rootURI, and attach them to the router.
At some later time, I want to change what the rootURI is globally
while the server is running. In Directory, rootRef is private and
there's no setRootRef() method. Why not? Similarly, Application
doesn't have a setRoot() method. Why not?
How can I do what I want? Right now it seems the only way would be
to do something like call Router.getRoutes() and replace the list
with new Directory instances.
- Paul
- Changing the root URI Paul J. Lucas
-