List of usage examples for org.apache.commons.daemon Daemon interface-usage
From source file com.gft.boot.daemon.SpringBootDaemon.java
/**
* Basic {@link Daemon} implementation for a Spring Boot app. Only for demonstration
* purposes as Spring Boot 1.3 has a much better support for this.
*
* @author Stephane Nicoll
*/
From source file net.nicoll.boot.daemon.SpringBootDaemon.java
/**
* Basic {@link Daemon} implementation for a Spring Boot app. Only for demonstration
* purposes as Spring Boot 1.3 has a much better support for this.
*
* @author Stephane Nicoll
*/
From source file com.indoqa.jarinjar.Daemon.java
/**
* Reference this class if you want to run a Java application that is wrapped by Jar-in-Jar as a Java service using JSVC.
*
* @see "http://stackoverflow.com/questions/7687159/how-to-convert-a-java-program-to-daemon-with-jsvc/7687991#7687991"
* @see "http://commons.apache.org/proper/commons-daemon/"
* @see "http://commons.apache.org/proper/commons-daemon/jsvc.html"
From source file resourceMonitor.Main.java
public class Main implements Daemon { private static Logger logger = Logger.getLogger(Main.class.getName()); private Timer monitoringTimer = null; private Timer uploadResultsTimer = null; private MonitoringTask monitoringTask = null;
From source file org.mortbay.jetty.start.daemon.Bootstrap.java
public class Bootstrap implements Daemon { private Main main = new Main(); public void init(DaemonContext context) { main.init(context.getArguments());
From source file ua.com.kerriline.location.daemon.SpringBootDaemon.java
/** * Basic {@link Daemon} implementation for a Spring Boot app. * * @author Stephane Nicoll */ public class SpringBootDaemon implements Daemon {
From source file org.apache.omid.tso.TsoServerDaemon.java
/** * Wraps TSO Server as a Daemon */ public class TsoServerDaemon implements Daemon { private static final Logger LOG = LoggerFactory.getLogger(TsoServerDaemon.class);
From source file com.globalsight.cxe.adapter.teamsite.autoimport.AutomaticImportDaemon.java
public class AutomaticImportDaemon implements Daemon, Runnable { private static final Logger s_logger = Logger.getLogger(AutomaticImportDaemon.class); private ServerSocket server = null; private Thread thread = null; private DaemonController controller = null; private boolean stopping = false;
From source file org.craftercms.cstudio.publishing.PublishingReceiverMainDeamon.java
/** * TO Be used only with Apache Deamon !! * @author Carlos Ortiz */ public class PublishingReceiverMainDeamon implements Daemon { Server server;
From source file com.buaa.cfs.nfs3.PrivilegedNfsGatewayStarter.java
/**
* This class is used to allow the initial registration of the NFS gateway with the system portmap daemon to come from a
* privileged (< 1024) port. This is necessary on certain operating systems to work around this bug in rpcbind:
* <p>
* Red Hat: https://bugzilla.redhat.com/show_bug.cgi?id=731542 SLES: https://bugzilla.novell.com/show_bug.cgi?id=823364
* Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594880