commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nigel Rantor <wig...@wiggly.org>
Subject [PATCH 0/1] daemon : Fix DaemonLoader to check that class implements 'Daemon' interface
Date Tue, 17 Aug 2004 15:07:27 GMT

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


Mime
View raw message