- Where Developers Learn, Share, & Build Careers


I have a problem in implementing this argument in my project using Im ServiceLoader and I do not know or This is also possible, but I want to add JARs to some known directory for dynamic app so that the app can load them when it starts. What I have achieved is that I know how to make a jar (with meta-INF / services) so that I will add more and more providers and classes (implementation) to this jar. Jar is included in the squared path like ordinary library, so the app knows about it. What I want to achieve: I do not want to file a jar, but I want to extend the app by adding more jar like plugins to providers (services), but I do not know how to

Thanks for the help!

You just need (a) URLClassLoader which is created with all the URLs of those directories Please call JR files, and (B) calls.


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -