commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren Hartford" <dhartf...@ghsinc.com>
Subject [commons-discovery] Find classes implementing an Interface
Date Fri, 15 Aug 2008 14:46:31 GMT
I have an interface called IFindMe.  

 

I have 3 classes that implement this interface.

 

I want to search for and retrieve all classes that implement IFindMe
(i.e. should be 3 classes).

 

Can commons-discovery do this?  Going through the Best Practices and the
Guidelines and the Javadoc and trying, the present answer is 'no'.
Please provide an example, or if commons-discovery can not solve this
problem maybe a pointer to how one could (either through reflection, or
parsing through the classpath, or however...).

 

Thanky,

-D


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message