Package org.eurekaj.app.classloader

Examples of org.eurekaj.app.classloader.PluginClassLoader


  private static PluginClassLoader eurekaJClassLoader;
 
  public static void main(String[] args) throws Exception {
    configure();
   
    eurekaJClassLoader = new PluginClassLoader(Thread.currentThread().getClass().getClassLoader());
   
    //-Dorg.eurekaj.webappDirectory=/srv/eurekaj/webapp -Dorg.eurekaj.pluginDirectory=/srv/eurekaj/plugins
    String pluginsDir = System.getProperty("org.montric.pluginDirectory", "/srv/montric/plugins");
    String webappDir = System.getProperty("org.montric.webappDirectory", "/srv/eurekaj/webapp");
    System.setProperty("basedir", webappDir);
View Full Code Here


      logger.info(" * Property 'org.montric.pluginDirectory' is not specified. Using default: 'plugins' Configure in file config.properties.");
    }
  }
 
  private static void loadPluginsFromDir(String dir) {
    PluginClassLoader classLoader = new PluginClassLoader(ClassLoader.getSystemClassLoader());
    classLoader.addJarsFromDirectory(dir);
  }
View Full Code Here

TOP

Related Classes of org.eurekaj.app.classloader.PluginClassLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.