It seems like shutting down a parent ServiceLocator does not shutdown the child ServiceLocators.
This seems like a bug. In the current code not only are child ServiceLocators not shutdown but it does not even break the parent-child relationship (the child still has a reference to the now shutdown parent, all the parent does is call children.clear()).
Is this intentional behavior? Documented?
Which leads to the next question: how to retrieve all the child ServiceLocators of a given ServiceLocator method? The ServiceLocator interface has a getParent() method but there seems to be no corresponding method to receive a copy of its children list.
It seems like shutting down a parent ServiceLocator does not shutdown the child ServiceLocators.
This seems like a bug. In the current code not only are child ServiceLocators not shutdown but it does not even break the parent-child relationship (the child still has a reference to the now shutdown parent, all the parent does is call children.clear()).
Is this intentional behavior? Documented?
Which leads to the next question: how to retrieve all the child ServiceLocators of a given ServiceLocator method? The ServiceLocator interface has a getParent() method but there seems to be no corresponding method to receive a copy of its children list.