code: public static void init() {
          config = new WarEngineConfig();
          // Surface the max-payload-buffer-size property as a system property, if it exists in the apiman.properties file
          if (System.getProperty(GatewayConfigProperties.MAX_PAYLOAD_BUFFER_SIZE) == null) {
              String propVal = config.getConfigProperty(GatewayConfigProperties.MAX_PAYLOAD_BUFFER_SIZE, null);
              if (propVal != null) {
                  System.setProperty(GatewayConfigProperties.MAX_PAYLOAD_BUFFER_SIZE, propVal);
              }
          }
          
          ConfigDrivenEngineFactory factory = new ConfigDrivenEngineFactory(config);
          engine = factory.createEngine();
          failureFormatter = loadFailureFormatter();
          errorFormatter = loadErrorFormatter();
      }
docs: Initialize the gateway.