test_class.file: engine-bootstrap/src/test/java/com/datacloudsec/bootstrap/ApplicationTest.java
test_class.identifier: ApplicationTest
test_case.body: @Test
      public void applicationTest() throws InterruptedException {
          String[] args = new String[]{"F:\\github\\dcsec-collector-engine\\engine-bootstrap\\src\\test\\resources\\application.properties"};
  
          Application.main(args);
          Thread.sleep(1000000000);
      }
test_case.class_method_signature: ApplicationTest.applicationTest()
test_case.full_signature: @Test public void applicationTest()
test_case.identifier: applicationTest
test_case.invocations: main sleep
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void applicationTest()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(Application.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(Application.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.file: engine-bootstrap/src/main/java/com/datacloudsec/bootstrap/Application.java
focal_class.identifier: Application
focal_class.class_method_signature: Application.main(String[] args)
focal_class.full_signature: public static void main(String[] args)
focal_class.identifier: main
focal_class.modifiers: public static
focal_class.parameters: (String[] args)
focal_class.return: void
focal_class.signature: void main(String[] args)
focal_method.body: public static void main(String[] args) {
          Integer serverPort = PORT;
          try {
              if (args.length > 0) {
                  serverPort = Integer.valueOf(args[0]);
              }
          } catch (NumberFormatException e) {
              LOGGER.error("Error in input parameters");
          }
          // 初始化采集器配置文件
          EngineContext.applicationInitialization();
          // 采集器内置解析规则等初始化
          EngineContext.componentsInitialization();
          // 生成source、channel、sink，
          // 持有所有组件生命周期
          AgentComponent.init();
          // 启动Server
          HttpServerManager.start(serverPort);
  
      }
focal_method.class_method_signature: Application.main(String[] args)
focal_method.full_signature: public static void main(String[] args)
focal_method.identifier: main
focal_method.invocations: valueOf error applicationInitialization componentsInitialization init start
focal_method.modifiers: public static
focal_method.parameters: (String[] args)
focal_method.return: void
focal_method.signature: void main(String[] args)