- Direct Known Subclasses:
- SettingsContextNodeLocator
public class NodeListNodeLocator
extends NodeLocator
This implementation of NodeLocator uses a NodeList document to populate
the internal maps that have all of the registered MNodes and CNodes, instead
of relying on the put methods. The MNode and CNode objects are
instantiated the first time they are requested from the get methods.
Use of the put methods will replace the current D1Node associated with the NodeReference,
so should be used with care.
While most applications require / desire to have only one instance of a NodeLocator,
with Singleton or Monostate behavior, this class does not do that, to support applications
that work across environments. See org.dataone.client.itk.D1Client for this.
- Author:
- rnahf