Package org.videolan.bdjo

Examples of org.videolan.bdjo.AppEntry


           
            // now load and initialize all the xlets
            AppEntry[] appTable = bdjo.getAppTable();
            xlet = new Xlet[appTable.length];
            for (int i = 0; i < appTable.length; i++) {
                AppEntry entry = appTable[i];
                Class<?> xlet_class = classLoader.loadClass(entry.getInitialClass());
                logger.log(Level.INFO, "Loaded class: " + entry.getInitialClass());
               
                xlet[i] = (Xlet)xlet_class.newInstance();
               
                // make context for xlet
                BasicXletContext context = new BasicXletContext(entry);
               
                Thread thread = new Thread(new BDJThreadGroup("", context),
                        new XletStarter(xlet[i], entry.getControlCode().equals(ControlCode.AUTOSTART)));
                thread.start();
                thread.join();
            }
           
            logger.log(Level.INFO, "Finished initializing and starting xlets.");
View Full Code Here

TOP

Related Classes of org.videolan.bdjo.AppEntry

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.