/** * Loads all modules mentioned in the report configuration starting with * the given prefix. This method is used during the boot process of * JFreeReport. You should never need to call this method directly. * * @param modulePrefix the module prefix. */ public void load(final String modulePrefix) { if (this.initSections.contains(modulePrefix)) { return; } this.initSections.add(modulePrefix); final Configuration config = this.booter.getGlobalConfig(); final Iterator it = config.findPropertyKeys(modulePrefix); int count = 0; while (it.hasNext()) { final String key = (String) it.next(); if (key.endsWith(".Module")) { final String moduleClass = config.getConfigProperty(key); if (moduleClass != null && moduleClass.length() > 0) { addModule(moduleClass); count++; } } } Log.debug("Loaded a total of " + count + " modules under prefix: " + modulePrefix); }
/** * Loads all modules mentioned in the report configuration starting with * the given prefix. This method is used during the boot process of * JFreeReport. You should never need to call this method directly. * * @param modulePrefix the module prefix. */ public void load(final String modulePrefix) { if (this.initSections.contains(modulePrefix)) { return; } this.initSections.add(modulePrefix); final Configuration config = this.booter.getGlobalConfig(); final Iterator it = config.findPropertyKeys(modulePrefix); int count = 0; while (it.hasNext()) { final String key = (String) it.next(); if (key.endsWith(".Module")) { final String moduleClass = config.getConfigProperty(key); if (moduleClass != null && moduleClass.length() > 0) { addModule(moduleClass); count++; } } } Log.debug("Loaded a total of " + count + " modules under prefix: " + modulePrefix); }
/** * Loads all modules mentioned in the report configuration starting with * the given prefix. This method is used during the boot process of * JFreeReport. You should never need to call this method directly. * * @param modulePrefix the module prefix. */ public void load(final String modulePrefix) { if (this.initSections.contains(modulePrefix)) { return; } this.initSections.add(modulePrefix); final Configuration config = this.booter.getGlobalConfig(); final Iterator it = config.findPropertyKeys(modulePrefix); int count = 0; while (it.hasNext()) { final String key = (String) it.next(); if (key.endsWith(".Module")) { final String moduleClass = config.getConfigProperty(key); if (moduleClass != null && moduleClass.length() > 0) { addModule(moduleClass); count++; } } } Log.debug("Loaded a total of " + count + " modules under prefix: " + modulePrefix); }
/** * Performs the boot process. */ protected void performBoot() { // configure the classloader from the properties-file. ObjectUtilities.setClassLoaderSource (getConfiguration().getConfigProperty("org.jfree.ClassLoader")); getPackageManager().addModule(DefaultLogModule.class.getName()); getPackageManager().load("org.jfree.jcommon.modules."); getPackageManager().initializeModules(); }
/** * Performs the boot process. */ protected void performBoot() { // configure the classloader from the properties-file. ObjectUtilities.setClassLoaderSource (getConfiguration().getConfigProperty("org.jfree.ClassLoader")); getPackageManager().addModule(DefaultLogModule.class.getName()); getPackageManager().load("org.jfree.jcommon.modules."); getPackageManager().initializeModules(); }
/** * Performs the boot process. */ protected void performBoot() { // configure the classloader from the properties-file. ObjectUtilities.setClassLoaderSource (getConfiguration().getConfigProperty("org.jfree.ClassLoader")); getPackageManager().addModule(DefaultLogModule.class.getName()); getPackageManager().load("org.jfree.jcommon.modules."); getPackageManager().initializeModules(); }