Class 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 Detail

      • PARAMETERS

        public static String[] PARAMETERS
    • Constructor Detail

      • StartMain

        public StartMain​(String[] commandLineArgs)
    • Method Detail

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