org.jboss.weld.environment.se
Class StartMain

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

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.jar:my-app.jar org.jboss.weld.environment.se.StartMain arg1 arg2

Author:
Peter Royle, Pete Muir, Ales Justin

Field Summary
static String[] PARAMETERS
           
 
Constructor Summary
StartMain(String[] commandLineArgs)
           
 
Method Summary
static String[] getParameters()
           
 WeldContainer go()
           
static void main(String[] args)
          The main method called from the command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETERS

public static String[] PARAMETERS
Constructor Detail

StartMain

public StartMain(String[] commandLineArgs)
Method Detail

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()


Copyright © 2013 Seam Framework. All Rights Reserved.