Cargar jars en tiempo de ejecución
AUTOR PREGUNTA #1
-
1 personas más tuvieron esta duda Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#2
URLClassLoader child = new URLClassLoader (myJar.toURL(), this.getClass().getClassLoader());
Class classToLoad = Class.forName ("com.MiClase", true, child);
Method method = classToLoad.getDeclaredMethod ("miMetodo");
Object instance = classToLoad.newInstance ();
Object result = method.invoke (instance);