Class Launcher

    • Constructor Detail

      • Launcher

        public Launcher​(RuntimeConfig runtimeConfig,
                        ClasspathFactory classpathFactory)
        Constructs a new launcher.
        Parameters:
        runtimeConfig - the runtime configuration
        classpathFactory - the classpath factory
    • Method Detail

      • main

        public static void main​(String[] args)
        Launches the application with a default RuntimeConfig and a ClasspathFactory based on the ${ceres.context}.mainClass property. If the main class is "com.bc.ceres.core.runtime.RuntimeLauncher", then a minimal classpath which at least includes the ceres-core library is used. Otherwise all directories, JARs and ZIPs found in the home directory will be added to the classpath.
        Parameters:
        args - the command-line arguments