test_class.file: webbeans-se/src/test/java/org/apache/openwebbeans/se/CDILauncherTest.java
test_class.identifier: CDILauncherTest
test_case.body: @Test
      public void typedRunnable()
      {
          assertFalse(MyRunnable2.ran);
          CDILauncher.main(new String[]{
                  "--openwebbeans.main", MyRunnable2.class.getName(),
                  "--openwebbeans.disableDiscovery", "true",
                  "--openwebbeans.classes", MyRunnable2.class.getName()
          });
          assertTrue(MyRunnable2.ran);
      }
test_case.class_method_signature: CDILauncherTest.typedRunnable()
test_case.full_signature: @Test public void typedRunnable()
test_case.identifier: typedRunnable
test_case.invocations: assertFalse main getName getName assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void typedRunnable()
focal_class.file: webbeans-se/src/main/java/org/apache/openwebbeans/se/CDILauncher.java
focal_class.identifier: CDILauncher
focal_class.class_method_signature: CDILauncher.CDILauncher()
focal_class.full_signature: private  CDILauncher()
focal_class.identifier: CDILauncher
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  CDILauncher()
focal_class.class_method_signature: CDILauncher.main(final String[] args)
focal_class.full_signature: public static void main(final String[] args)
focal_class.identifier: main
focal_class.modifiers: public static
focal_class.parameters: (final String[] args)
focal_class.return: void
focal_class.signature: void main(final String[] args)
focal_class.class_method_signature: CDILauncher.executeMain(final Config config, final SeContainer container)
focal_class.full_signature: private static void executeMain(final Config config, final SeContainer container)
focal_class.identifier: executeMain
focal_class.modifiers: private static
focal_class.parameters: (final Config config, final SeContainer container)
focal_class.return: void
focal_class.signature: void executeMain(final Config config, final SeContainer container)
focal_class.class_method_signature: CDILauncher.selectProxyType(final Set<Type> types)
focal_class.full_signature: private static Class<?> selectProxyType(final Set<Type> types)
focal_class.identifier: selectProxyType
focal_class.modifiers: private static
focal_class.parameters: (final Set<Type> types)
focal_class.return: Class<?>
focal_class.signature: Class<?> selectProxyType(final Set<Type> types)
focal_class.class_method_signature: CDILauncher.configure(final SeContainerInitializer initializer, final String[] args)
focal_class.full_signature: private static Config configure(final SeContainerInitializer initializer, final String[] args)
focal_class.identifier: configure
focal_class.modifiers: private static
focal_class.parameters: (final SeContainerInitializer initializer, final String[] args)
focal_class.return: Config
focal_class.signature: Config configure(final SeContainerInitializer initializer, final String[] args)
focal_method.body: public static void main(final String[] args)
      {
          final SeContainerInitializer initializer = SeContainerInitializer.newInstance();
          final Config config = configure(initializer, args);
          try (final SeContainer container = initializer.initialize())
          {
              if (config.main != null)
              {
                  executeMain(config, container);
              }
              // else the app can use other ways to execute code like @PreDestroy of a startup bean
          }
      }
focal_method.class_method_signature: CDILauncher.main(final String[] args)
focal_method.full_signature: public static void main(final String[] args)
focal_method.identifier: main
focal_method.invocations: newInstance configure initialize executeMain
focal_method.modifiers: public static
focal_method.parameters: (final String[] args)
focal_method.return: void
focal_method.signature: void main(final String[] args)