bioinformatics-ua / dicoogle

Dicoogle - Open Source PACS
http://www.dicoogle.com/
GNU General Public License v3.0
447 stars 132 forks source link

Support class loading from plugins by name #93

Closed Enet4 closed 9 years ago

Enet4 commented 9 years ago

Right now I'm picturing a use case where CBIR algorithms, multimodal query adapters and query fusion strategies could be loaded by the core plugin just by having new plugins containing implementations and a configuration file defining the names of classes to load.

Since the Java simple plugin framework handles class loading differently, using the given class loader to fetch classes from other plugins does not seem to work. Even if it is possible right now, it's potentially very tricky and prone to fail with other versions of jspf.

Enet4 commented 9 years ago

I will put this on hold until we think of a better way to solve the same problems.