• Post Reply Bookmark Topic Watch Topic
  • New Topic

Load interfaces  RSS feed

 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to dynamically load all classes of a known interface, into a class at runtime. The classes will be required to be in the same package as the loading class. However, functionality should not be dependent on whether this class is in a class directory tree or a jar file. I guess the question is, is there anyway to get all Class objects of a certain Package, without trying to read the directory / jar file?

Thanks,

Kerry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!