Package org.apache.isis.runtimes.dflt.runtime.runner

Examples of org.apache.isis.runtimes.dflt.runtime.runner.IsisRunner


        args = OptionHandlerPort.appendArg(args, port);
        run(args);
    }

    public void run(final String[] args) {
        final IsisRunner runner = new IsisRunner(args, new OptionHandlerDeploymentTypeWebServer());

        // adjustments
        runner.addOptionHandler(new OptionHandlerPort());
        runner.addOptionHandler(new OptionHandlerAddress());
        runner.addOptionHandler(new OptionHandlerResourceBase());
        runner.addOptionHandler(new OptionHandlerStartupMode());

        if (!runner.parseAndValidate()) {
            return;
        }

        final WebServerBootstrapper bootstrapper = new WebServerBootstrapper(runner);
        runner.bootstrap(bootstrapper);
        jettyServer = bootstrapper.getJettyServer();
    }
View Full Code Here


    public static void main(final String[] args) {
        new Isis().run(args);
    }

    private void run(final String[] args) {
        final IsisRunner runner = new IsisRunner(args, new OptionHandlerDeploymentTypeIsis());

        addOptionHandlersAndValidators(runner);

        if (!runner.parseAndValidate()) {
            return;
        }
        runner.bootstrap(new RuntimeBootstrapper());
    }
View Full Code Here

    public static void main(final String[] args) {
        new WebServer().run(ArrayUtils.append(args, "--nosplash"));
    }

    public void run(final String[] args) {
        final IsisRunner runner = new IsisRunner(args, new OptionHandlerDeploymentTypeWebServer());

        // adjustments
        runner.addOptionHandler(new OptionHandlerPort());
        runner.addOptionHandler(new OptionHandlerAddress());
        runner.addOptionHandler(new OptionHandlerResourceBase());

        if (!runner.parseAndValidate()) {
            return;
        }

        runner.bootstrap(new WebServerBootstrapper(runner));
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.runtimes.dflt.runtime.runner.IsisRunner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.