Class StartMain

java.lang.Object
org.jboss.weld.environment.se.StartMain

@Vetoed public class StartMain extends Object
This is the main class that can be called from the command line for a WeldContainer SE app which makes use of the ContainerInitialized event. Something like: java -cp weld-se-shaded.jar:my-app.jar org.jboss.weld.environment.se.StartMain arg1 arg2
Author:
Peter Royle, Pete Muir, Ales Justin
  • Field Details

    • PARAMETERS

      public static String[] PARAMETERS
  • Constructor Details

    • StartMain

      public StartMain(String[] commandLineArgs)
  • Method Details

    • go

      public WeldContainer go()
    • main

      public static void main(String[] args)
      The main method called from the command line.
      Parameters:
      args - the command line arguments
    • getParameters

      public static String[] getParameters()
    • shutdownNow

      public void shutdownNow()
      Shut down Weld immediately. Blocks until Weld is completely shut down.