Package net.sf.jeters.componentInterface

Examples of net.sf.jeters.componentInterface.ComponentManager


   
    TranslationReader transReader
      = new TranslationReader(localeFromConfiguration());
   
    componentManager =
      new ComponentManager(componentDir,
          xmlConfigStorage, configReaders, transReader);

    /* make sure there is a configuration file for all components
     * as well as for the core */
    componentManager.writeAllComponentBaseConfigurations();
 
View Full Code Here


   * prints (to System.out) a list of all components that are present in the
   * given component folder and are instances of the given classes/interfaces
   */
  private static void printComponentList(File compFolder, Class<? extends Component>... compClasses) {
   
    ComponentManager tempCompManager = new ComponentManager( //TODO: switch to loader
        compFolder,
        null,
        new ConfigurationReader[0],
        null);
   
    List<Class<? extends Component>> classes =
      tempCompManager.getAvailableComponentClasses(compClasses);
   
    for (Class<? extends Component> c : classes) {
      System.out.println(c.getName());
    }
   
View Full Code Here

TOP

Related Classes of net.sf.jeters.componentInterface.ComponentManager

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.