code: private void doNodeJoined(final Node node) {
      tasks.runTask(new Handler<Task>() {
        @Override
        public void handle(final Task task) {
          if (currentContext != null) {
            log.info(String.format("%s - %s joined the cluster. Uploading components to new node", NetworkManager.this, node.address()));
            installModules(node, currentContext, new Handler<AsyncResult<Void>>() {
              @Override
              public void handle(AsyncResult<Void> result) {
                if (result.failed()) {
                  log.error(result.cause());
                } else {
                  log.info(String.format("%s - Successfully uploaded components to %s", NetworkManager.this, node.address()));
                }
                task.complete();
              }
            });
          } else {
            task.complete();
          }
        }
      });
    }
docs: Handles a node joining the cluster.