Hey there all,
 
Sorry for being slightly off-topic but I was hoping someone here might be able to point me in the right direction.  I'd like my wicket app to support plugins.  What I need is a way to dynamically discover what plugins are available to be instantiated.  A plugin in this case would be anything that implements the IPlugin interface.  Specifically, I'd need a way to do the following:
 
Set<Class<IPlugin>> getAvailablePlugins()
{
    // look through the classpath for all implementations of IPlugin and return the classes...
}
 
I'm hoping for something fairly lightweight that can do this without a bunch of XML config files, etc.  I was looking at Pico which seems to be as lightweight as I'd like but was a little short on documentation (I think its Nano subproject might be able to do it, but there weren't any examples).
 
Anyone have some advice/experience?  Am I going about this all wrong?
 
Thanks!
Karl
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to