Package org.jrebirth.af.core.concurrent

Examples of org.jrebirth.af.core.concurrent.JRebirthThread


        return (APP) app;
    }

    public static void closeApplication(final AbstractApplication<?> application) {

        final JRebirthThread jit = JRebirthThread.getThread();
        Platform.setImplicitExit(true);
        Platform.exit();
        // JRebirth.runIntoJAT(new
        // AbstractJrbRunnable("CloseApplication-"+application.getClass().getSimpleName())
        // {
View Full Code Here


            loadConfigurationFiles();
            notifyPreloader(new ProgressNotification(0.5));

            // Build the JRebirth Thread before attaching uncaught Exception Handler
            notifyPreloader(new ProgressNotification(600));
            final JRebirthThread jrt = JRebirthThread.getThread();

            // Attach exception handlers
            initializeExceptionHandler();

            // Start the JRebirthThread, if an error occurred it will be processed by predefined handler
            // It will create all facades and trigger the pre and post boot waves and will alost attach the first model view
            jrt.prepare(this);
            notifyPreloader(new ProgressNotification(0.6));

            // Preload fonts to allow them to be used by CSS
            notifyPreloader(new ProgressNotification(700));
            preloadFonts();
View Full Code Here

TOP

Related Classes of org.jrebirth.af.core.concurrent.JRebirthThread

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.