Find java classes implementing an interface

Posted by Linor on Stack Overflow See other posts from Stack Overflow or by Linor
Published on 2009-01-12T16:05:54Z Indexed on 2010/05/23 13:40 UTC
Read the original article Hit count: 234

Filed under:
|

Some time ago, I came across a piece of code, that used some piece of standard java functionality to locate the classes that implemented a given interface. I know the the functions were hidden in some non logical place, but they could be used for other classes as the package name implied. Back then I did not need it, so I forgot about it, but now I do, and I can't seem to find the functions again. Does anyone know where to find these functions?

edit: I'm not looking for any IDE functions or anything, but rather something that can be executed within the java application.

© Stack Overflow or respective owner

Related posts about java

Related posts about interface