You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Nigel Rantor <wi...@wiggly.org> on 2004/08/17 17:07:27 UTC
[PATCH 0/1] daemon : Fix DaemonLoader to check that class implements
'Daemon' interface
Hi all,
First time contributer here so please point me in the right direction if
I do something stupid.
I have been using the daemon module and found that the DaemonLoader only
checks to see if the class passed to it's load method actually
implements the Daemon interface rather than checking the base classes as
well.
I have a set of servers that share a lot of common code and so a
superclass implements the Daemon interface while others simply override
where neccessary.
Here is a patch that uses Class.isAssignableFrom() to do the job instead.
Kind regards,
Nige
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org