Package org.cafesip.jiplet.config.jip

Examples of org.cafesip.jiplet.config.jip.JipletConfig


        List list = config.getJiplet();
        Collections.sort(list, new Comparator()
        {
            public int compare(Object obj1, Object obj2)
            {
                JipletConfig o1 = (JipletConfig) obj1;
                JipletConfig o2 = (JipletConfig) obj2;

                return o1.getStartupOrder() - o2.getStartupOrder();
            }
        });
        Iterator iter = list.iterator();
        while (iter.hasNext() == true)
        {
            JipletConfig jiplet = (JipletConfig) iter.next();
            try
            {
                initJiplet(jiplet);
            }
            catch (Exception e)
            {
                JipletLogger.fatal("Error starting context "
                        + jiplet.getJipletName() + "\n" + "Exception: "
                        + e.getClass().getName() + ": " + e.getMessage() + "\n"
                        + JipletLogger.getStackTrace(e));
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.cafesip.jiplet.config.jip.JipletConfig

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.