}
public void nodeAdded(Node node, ObjectContext ctx) throws RepositoryException {
NodeType nodeType = node.getPrimaryNodeType();
String nodeTypeName = nodeType.getName();
TypeMapper mapper = domain.getTypeMapper(nodeTypeName);
if (mapper != null) {
String id = node.getUUID();
if (contexts.containsKey(id)) {
String msg = "Attempt to replace an existing context " + ctx + " with id " + id;
log.error(msg);