Package com.commongroundpublishing.rubylet

Examples of com.commongroundpublishing.rubylet.Factory


     *
     * <p>FIXME: If any restartables throw exceptions, the old
     * factory will not be destroyed, and we may leak runtimes...
     */
    public void restart() {
        final Factory oldFactory = assertNotNull(factory);
        factory = null;
        init(assertNotNull(originalConfig));
       
        for (Restartable r : restartables) {
            try {
                r.restart();
            } catch (ServletException e) {
                logger.error("{}: error restarting {}",
                             new Object[] { this, r },
                             e);
            }
        }
       
        oldFactory.unreference(this)// find unref destroys factory
    }
View Full Code Here

TOP

Related Classes of com.commongroundpublishing.rubylet.Factory

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.