I found the answer after some luck with searching around the wiki.

>From "Combined java class for Windows and Linux" found in ( 
>https://wiki.apache.org/commons/Daemon ) it states:

        // Implementing the Daemon interface is not required for Windows but is 
for Linux

Another example is how Apache Tomcat uses commons-daemon and omits the Daemon 
interface.   Since the project documentation is a bit out of date hopefully 
this is a useful reference for others.


> Sent: Tuesday, September 22, 2015 at 4:34 PM
> From: "John Febarro" <[email protected]>
> To: [email protected]
> Subject: [daemon] When to use MyClass implements Daemon
>
> I read the Wiki and looked at the examples in src/samples/ but it wasn't 
> clear on when I would use a line like:
> 
> public class MyClass implements Daemon
> 
> or just  public class MyClass   (without the implements portion).
> 
> 
> Is there any logic or reasons for when to use the implements Daemon and when 
> not to?   Any significant difference?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to