code: public static Component createComponent(Vertx vertx, Container container) {
      InstanceContext context = parseContext(container.config());
      return new DefaultComponentFactory().setVertx(vertx).setContainer(container).createComponent(context, new DefaultCluster(context.component().network().cluster(), vertx, container));
    }
docs: Creates a component instance for the current Vert.x instance.