code: public void register() {
          logger.debug("[register] uri = {}", getManagementUri());
  
          JsonNode jsonNode;
          ObjectMapper objectMapper = jsonObjectMapper.getObjectMapperBinary();
          ObjectNode objectNode = objectMapper.createObjectNode();
          objectNode.put(CommandParameters.METHOD, "register");
  
          try {
              jsonNode = objectMapper.readTree(managementConnection.sendWithResult(objectMapper.writeValueAsBytes(objectNode)));
          }
          catch (Exception e) {
              logger.error("[register] could not register at server");
              return;
          }
  
          id = jsonNode.get("id").asText();
          setMaster(jsonNode.get("isMaster").asBoolean());
  
          managementConnection.setServerId(id);
  
          logger.debug("[register] id = {}, isMaster = {}, uri = {}", getId(), isMaster(), getManagementUri());
      }
docs: Registers with the Neo4j server and saves some Neo4j server information with this object.