Anybody knows the least-effort way to do dynamic discovery of classes? I want all classes implementing an interface on the classpath, but I’m too lazy to write configuration files or use OSGi or something else overblown. I’d like to be able to have the classpath basically be “myjar.jar:extensions/*.jar” (which should be possible using 6.something); it can be assumed to be fixed but change from invocation to invocation.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.