code: public ZooActionBuilder withApplicationContext(ApplicationContext ctx) {
          this.applicationContext = ctx;
  
          if (applicationContext.containsBean("zookeeperClient")) {
              action.setZookeeperClient(applicationContext.getBean("zookeeperClient", ZooClient.class));
          }
  
          if (applicationContext.containsBean("zookeeperCommandResultMapper")) {
              action.setJsonMapper(applicationContext.getBean("zookeeperCommandResultMapper", ObjectMapper.class));
          }
  
          return this;
      }
docs: Sets the Spring bean application context.
  @param ctx