All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.directwebremoting.impl.DaemonThreadFactory Maven / Gradle / Ivy

package org.directwebremoting.impl;

import java.util.concurrent.ThreadFactory;

/**
 * @author Joe Walker [joe at getahead dot ltd dot uk]
 */
public class DaemonThreadFactory implements ThreadFactory
{
    public Thread newThread(Runnable r)
    {
        Thread t = new Thread(r);
        t.setDaemon(true);
        return t;
    }
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy