@Singleton public class Main extends Object
main method
initializes a new
SeContainer.
This class is not safe for concurrent use by multiple threads.
SeContainerInitializer.initialize()public static final void main(String[] args)
SeContainer and then closes it.
This method has a deliberate side effect of making the args parameter value available in the CDI container in Singleton scope with a qualifier of @Named("commandLineArguments"). It also causes an
instance of this class to be created by the CDI container in
Singleton scope.
args - command-line arguments; may be nullSeContainerInitializer.newInstance(),
SeContainerInitializer.initialize(),
SeContainer.close()Copyright © 2017–2017, MicroBean. All rights reserved.