Tabnine Logo
StartMain.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jboss.weld.environment.se.StartMain
constructor

Best Java code snippets using org.jboss.weld.environment.se.StartMain.<init> (Showing top 18 results out of 315)

origin: org.jboss.weld.se/weld-se

/**
 * The main method called from the command line.
 *
 * @param args the command line arguments
 */
public static void main(String[] args) {
  new StartMain(args).go();
}
origin: weld/core

/**
 * The main method called from the command line.
 *
 * @param args the command line arguments
 */
public static void main(String[] args) {
  try {
    new StartMain(args).go();
  } catch(Throwable t) {
    WeldSELogger.LOG.error("Application exited with an exception", t);
    System.exit(1);
  }
}
origin: weld/core

/**
 * The main method called from the command line.
 *
 * @param args the command line arguments
 */
public static void main(String[] args) {
  try {
    new StartMain(args).go();
  } catch(Throwable t) {
    WeldSELogger.LOG.error("Application exited with an exception", t);
    System.exit(1);
  }
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * The main method called from the command line.
 *
 * @param args the command line arguments
 */
public static void main(String[] args) {
  try {
    new StartMain(args).go();
  } catch(Throwable t) {
    WeldSELogger.LOG.error("Application exited with an exception", t);
    System.exit(1);
  }
}
origin: io.astefanutti.camel.cdi/simplecontextname

  public static void main(String[] args) throws Exception {
    WeldContainer container = new StartMain(args).go();
    // Get a reference to the Camel context named "simple"
    CamelContext context = container.instance().select(CamelContext.class, new ContextName.Literal("simple")).get();
    System.out.println("Camel CDI :: " + context + " started!");
    // And wait until the JVM exits
    new CountDownLatch(1).await();
  }
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-explorer-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.guvnor/guvnor-project-backend

@Before
public void setUp() throws Exception {
  //Bootstrap WELD container
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  //Instantiate Paths used in tests for Path conversion
  final Bean pathsBean = (Bean) beanManager.getBeans( Paths.class ).iterator().next();
  final CreationalContext cc = beanManager.createCreationalContext( pathsBean );
  paths = (Paths) beanManager.getReference( pathsBean,
                       Paths.class,
                       cc );
  //Ensure URLs use the default:// scheme
  fs.forceAsDefault();
}
origin: org.kie.workbench.services/kie-wb-common-builder

@Before
public void setUp() throws Exception {
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
origin: org.kie.guvnor/guvnor-commons-builder

@Before
public void setUp() throws Exception {
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  setUpGuvnorM2Repo();
}
origin: org.kie.workbench.services/kie-wb-common-builder

@Before
public void setUp() throws Exception {
  StartMain startMain = new StartMain( new String[ 0 ] );
  beanManager = startMain.go().getBeanManager();
  setUpGuvnorM2Repo();
}
org.jboss.weld.environment.seStartMain<init>

Popular methods of StartMain

  • go
  • getParameters
  • main
    The main method called from the command line.

Popular in Java

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JOptionPane (javax.swing)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now