Package net.sourceforge.cruisecontrol.utilities

Examples of net.sourceforge.cruisecontrol.utilities.PluginManager.loadClass()


   
    // initialize the ext location
    PluginManager pluginManager = new PluginManager( "/java/cruisecontrol-2.2.1/main/dist" );
   
    try {
      Class theMainWindow = pluginManager.loadClass( "net.sourceforge.cruisecontrol.gui.MainWindow" );
      Method theBuildMethod = theMainWindow.getDeclaredMethod( "buildWindow", new Class[0] );
      theBuildMethod.invoke( theMainWindow, new Object[0] );
    }
    catch (Exception e ) {
      System.out.println( e.toString() );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.