if (nodeExistsForPath) {
throw new NodeAlreadyRegisteredException("A node of type '" + node.getTypeName() +
"' has already been registered for path '" + getNormalizedPath(node.dir()) + "'");
}
notifyObservers(new NodeDiscoveredEvent(), node);
if (node.dir().exists()) {
node.ready();
}