Package hu.sztaki.ilab.longneck.bootstrap

Examples of hu.sztaki.ilab.longneck.bootstrap.Bootstrap


                    }
                }
            }

            // Create and initialize bootstrap
            Bootstrap bootstrap = new Bootstrap(runtimeProperties);

            if (!runtimeProperties.containsKey("executeUtility")) {
                bootstrap.run();
            } else {
                ApplicationContext context = bootstrap.getApplicationContext();
                UtilityRunner ur = (UtilityRunner) context.getBean(runtimeProperties
                    .getProperty("executeUtility"));
                ur.run(runtimeProperties);
            }

            bootstrap.close();

        } catch (ParseException ex) {
            LOG.error("Invalid command line specified.", ex);
        } catch (RuntimeException ex) {
            LOG.error("Error during execution.", getRootCause(ex));
View Full Code Here

TOP

Related Classes of hu.sztaki.ilab.longneck.bootstrap.Bootstrap

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.