Package org.apache.geronimo.main

Examples of org.apache.geronimo.main.Bootstrapper


        return new DaemonCLParser(System.out);
    }

    @Override
    protected Bootstrapper createBootstrapper(CLParser parser) {
        Bootstrapper boot = super.createBootstrapper(parser);
        boot.setWaitForStop(true);
        boot.setStartBundles(Arrays.asList("org.apache.geronimo.framework/j2ee-system//car"));
        boot.setLog4jConfigFile("var/log/server-log4j.properties");
        boot.setCleanStorage( ((DaemonCLParser) parser).isCleanCache() );
        return boot;
    }
View Full Code Here


            return 0;
        }
       
        initializeLogging(parser);
       
        Bootstrapper boot = createBootstrapper(parser);
        return boot.execute(parser);
    }
View Full Code Here

        Bootstrapper boot = createBootstrapper(parser);
        return boot.execute(parser);
    }

    protected Bootstrapper createBootstrapper(CLParser parser) {
        return new Bootstrapper();
    }
View Full Code Here

        return new ClientCLParser(System.out);
    }
   
    @Override
    protected Bootstrapper createBootstrapper(CLParser parser) {
        Bootstrapper boot = super.createBootstrapper(parser);
        boot.setWaitForStop(false);
        boot.setUniqueInstance(true);
        boot.setAdditionalConfigFile("command-config.properties");
        boot.setStartBundles(Arrays.asList("org.apache.geronimo.framework/client-system//car"));
        boot.setLog4jConfigFile("var/log/client-log4j.properties");
        return boot;
    }
View Full Code Here

        return new DeployerCLParser(System.out);
    }
   
    @Override
    protected Bootstrapper createBootstrapper(CLParser parser) {
        Bootstrapper boot = super.createBootstrapper(parser);
        boot.setWaitForStop(false);
        boot.setUniqueInstance(true);
        boot.setAdditionalConfigFile("command-config.properties");
        boot.setStartBundles(Arrays.asList("org.apache.geronimo.framework/online-deployer//car"));
        boot.setLog4jConfigFile("var/log/deployer-log4j.properties");
        return boot;
    }
View Full Code Here

        return new ShutdownCLParser(System.out);
    }
   
    @Override
    protected Bootstrapper createBootstrapper(CLParser parser) {
        Bootstrapper boot = super.createBootstrapper(parser);
        boot.setWaitForStop(false);
        boot.setUniqueInstance(true);
        boot.setAdditionalConfigFile("command-config.properties");
        boot.setStartBundles(Arrays.asList("org.apache.geronimo.framework/shutdown//car"));
        boot.setLog4jConfigFile("var/log/server-log4j.properties");
        return boot;
    }
View Full Code Here

        return new ClientCLParser(System.out);
    }
   
    @Override
    protected Bootstrapper createBootstrapper(CLParser parser) {
        Bootstrapper boot = super.createBootstrapper(parser);
        boot.setWaitForStop(false);
        boot.setUniqueInstance(true);
        boot.setConfigFile("command-config.properties");
        boot.setSystemPropertiesFile("command-system.properties");
        boot.setStartBundles(Arrays.asList("org.apache.geronimo.framework/client-system//car"));
        boot.setLog4jConfigFile("var/log/client-log4j.properties");
        return boot;
    }
View Full Code Here

        return new DaemonCLParser(System.out);
    }

    @Override
    protected Bootstrapper createBootstrapper(CLParser parser) {
        Bootstrapper boot = super.createBootstrapper(parser);
        boot.setWaitForStop(true);
        boot.setStartBundles(Arrays.asList("org.apache.geronimo.framework/j2ee-system//car"));
        boot.setLog4jConfigFile("var/log/server-log4j.properties");
        boot.setCleanStorage( ((DaemonCLParser) parser).isCleanCache() );
        boot.setLaunchListener(new ScriptLaunchListener("server"));
        return boot;
    }
View Full Code Here

        return new ShutdownCLParser(System.out);
    }
   
    @Override
    protected Bootstrapper createBootstrapper(CLParser parser) {
        Bootstrapper boot = super.createBootstrapper(parser);
        boot.setWaitForStop(false);
        boot.setUniqueInstance(true);
        boot.setConfigFile("command-config.properties");
        boot.setSystemPropertiesFile("command-system.properties");
        boot.setStartBundles(Arrays.asList("org.apache.geronimo.framework/shutdown//car"));
        boot.setLog4jConfigFile("var/log/server-log4j.properties");
        return boot;
    }
View Full Code Here

        return new DeployerCLParser(System.out);
    }
   
    @Override
    protected Bootstrapper createBootstrapper(CLParser parser) {
        Bootstrapper boot = super.createBootstrapper(parser);
        boot.setWaitForStop(false);
        boot.setUniqueInstance(true);
        boot.setConfigFile("command-config.properties");
        boot.setSystemPropertiesFile("command-system.properties");
        boot.setStartBundles(Arrays.asList("org.apache.geronimo.framework/online-deployer//car"));
        boot.setLog4jConfigFile("var/log/deployer-log4j.properties");
        return boot;
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.main.Bootstrapper

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.