Example usage for org.apache.commons.daemon Daemon interface-usage

List of usage examples for org.apache.commons.daemon Daemon interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.daemon Daemon interface-usage.

Usage

From source file ca.brood.tunneller.Tunneller.java

public class Tunneller implements Daemon, XMLConfigurable {
    private static Tunneller tunnellerDaemon;

    private ArrayList<TunnelKeepaliveThread> tunnelThreads;
    private String configFile;
    private Logger log;

From source file com.envirover.spl.SPLDaemon.java

/**
 * Daemon interface for SPL application.
 */
@SuppressWarnings("restriction")
public class SPLDaemon implements Daemon {
    private final static String DEFAULT_PARAMS_FILE = "default.params";

From source file eu.eco2clouds.accounting.monitoringcollector.MainDaemon.java

public class MainDaemon implements Daemon {
    private static MonitoringCollector monitoringCollector;
    private static String configurationFile = "/etc/e2c-accounting/MonitoringCollector.properties";

    public static void main(String[] args) {
        monitoringCollector = new MonitoringCollector(configurationFile);

From source file icap.IcapServerDaemon.java

/**
 * A basic attempt to wrap GreasySpoon with Apache commons-daemon 
 */
public class IcapServerDaemon implements Daemon {

    ///////////////////////////////////////////////////////////////////////

From source file org.jcronjob.agent.AgentBootstrap.java

public class AgentBootstrap implements Daemon, Serializable {

    private TServer server;

    private int port;

From source file org.waarp.common.service.ServiceLauncher.java

/**
 * Launch the Engine from a variety of sources, either through a main() or invoked through
 * Apache Daemon.
 *
 * @author Frederic Bregier
 *         Inspired from Apache Daemon Wiki

From source file fathom.Boot.java

/**
 * Boot starts/stops Fathom and can be optionally used as a Commons-Daemon Service.
 * <p>
 * http://commons.apache.org/proper/commons-daemon
 *
 * @author James Moger

From source file org.xenmaster.App.java

public class App implements Daemon {

    protected Server server;
    public static final String CONSOLE_LOGPATTERN = "%d{HH:mm:ss,SSS} | %-5p | %t | %c{1.} %m%n";
    public static final String FILE_LOGPATTERN = "%d{HH:mm:ss,SSS} | %-5p | %t | %c | %m%n";

From source file SimpleDaemon.java

public class SimpleDaemon implements Daemon, Runnable {

    private ServerSocket server = null;
    private Thread thread = null;
    private DaemonController controller = null;
    private volatile boolean stopping = false;

From source file org.iobserve.analysis.service.AnalysisDaemon.java

/**
 * @author Reiner Jung
 *
 */
public class AnalysisDaemon implements Daemon {