congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StartMain.go
Code IndexAdd Tabnine to your IDE (free)

How to use
go
method
in
org.jboss.weld.environment.se.StartMain

Best Java code snippets using org.jboss.weld.environment.se.StartMain.go (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

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.seStartMaingo

Popular methods of StartMain

  • <init>
  • getParameters
  • main
    The main method called from the command line.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setScale (BigDecimal)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top Vim 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