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

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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