public class ContainerMain
extends java.lang.Object
| Constructor and Description |
|---|
ContainerMain() |
| Modifier and Type | Method and Description |
|---|---|
static XDContainer |
launchContainer(ContainerOptions options,
org.springframework.context.ApplicationContext parentContext)
Create a new instance of XDContainer given ContainerOptions and an optional parent ApplicationContext
|
static void |
main(java.lang.String[] args)
The main entry point to create the XDContainer.
|
static ContainerOptions |
parseOptions(java.lang.String[] args)
Parse command line options from a String array into a type safe ContainerOptions class.
|
public static void main(java.lang.String[] args)
args - command line argumentspublic static ContainerOptions parseOptions(java.lang.String[] args)
args - command line argumentsInvalidCommandLineArgumentException - if there is an invalid command line argumentpublic static XDContainer launchContainer(ContainerOptions options, org.springframework.context.ApplicationContext parentContext)
options - The options that select transport, analytics, and other infrastructure options.parentContext - an optional parent context to set on the XDContainer's ApplicationContext.