• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reflection or classloaders  RSS feed

 
Erik Pragt
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I'm not that familiar with reflection and classloaders, but I was wondering if the way I'm dynamically loading classes is anywhere in the right direction, or that you might have a different option.


Any help would be greatly appreciated!
Erik
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm...
I've never done anything quite like this, but it looks like it could work. One note:

would not trigger what I'm assuming you want. Try:

Perhaps others know of an easier way to do this?
 
Erik Pragt
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops, you're right! Forgot to add the .class part. Btw, I know it works, but I also know it couldn't win a beauty contest.
Anyone else a suggestion?
Erik
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!