- java.lang.Object
- 
- io.helidon.microprofile.cdi.Main
 
- 
 public final class Main extends Object This is the "master" main class of Helidon MP. You can boot the Helidon MP instance using this class if you want do not need to modify anything using builders.StartupConfigurationIf this method is used, the following approach is taken for configuration: - If there is a meta-configfile in one of the supported formats (a config parser on the classpath, e.g.yaml, it will be used to set up configuration
- If there are any MicroProfile config sources, these will be added
- If there are any META-INF/microprofile-config.propertiesfiles on the classpath, these will be added
 LoggingHelidon uses Java Util Logging. You can configure logging using:- A system property java.util.logging.config.class
- A system property java.util.logging.config.file
- Placing file logging.propertieson the current path
- Placing file logging.propertieson the classpath
 
- If there is a 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Start CDI.static voidshutdown()Shutdown CDI container.
 
- 
- 
- 
Method Detail- 
mainpublic static void main(String[] args) Start CDI. This will also start all features on the classpath, such as JAX-RS. This method should only be invoked when custom configuration is not used (in cases you rely on config sources from classpath, or on meta-configuration).- Parameters:
- args- command line arguments, currently ignored
 
 - 
shutdownpublic static void shutdown() Shutdown CDI container.
 
- 
 
-