/** * Returns the global configuration as modifiable configuration reference. * * @return the global configuration */ public static ModifiableConfiguration getConfiguration() { return (ModifiableConfiguration) getInstance().getGlobalConfig(); }
/** * Returns the global configuration as modifiable configuration reference. * * @return the global configuration */ public static ModifiableConfiguration getConfiguration() { return (ModifiableConfiguration) getInstance().getGlobalConfig(); }
/** * Returns the global configuration as extended configuration. * * @return the extended configuration. */ public synchronized ExtendedConfiguration getExtendedConfig () { if (extWrapper == null) { extWrapper = new ExtendedConfigurationWrapper(getGlobalConfig()); } return extWrapper; } }
/** * Returns the global configuration as extended configuration. * * @return the extended configuration. */ public synchronized ExtendedConfiguration getExtendedConfig () { if (this.extWrapper == null) { this.extWrapper = new ExtendedConfigurationWrapper(getGlobalConfig()); } return this.extWrapper; } }
/** * Returns the global configuration as modifiable configuration reference. * * @return the global configuration */ public static ModifiableConfiguration getConfiguration() { return (ModifiableConfiguration) getInstance().getGlobalConfig(); }
/** * Returns the global configuration as extended configuration. * * @return the extended configuration. */ public synchronized ExtendedConfiguration getExtendedConfig () { if (this.extWrapper == null) { this.extWrapper = new ExtendedConfigurationWrapper(getGlobalConfig()); } return this.extWrapper; } }
/** * Returns <code>true</code> if logging is disabled, and <code>false</code> otherwise. * * @return true, if logging is completly disabled, false otherwise. */ public static boolean isDisableLogging() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (DISABLE_LOGGING, DISABLE_LOGGING_DEFAULT).equalsIgnoreCase("true"); }
/** * Returns <code>true</code> if logging is disabled, and <code>false</code> otherwise. * * @return true, if logging is completly disabled, false otherwise. */ public static boolean isDisableLogging() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (DISABLE_LOGGING, DISABLE_LOGGING_DEFAULT).equalsIgnoreCase("true"); }
/** * Returns <code>true</code> if logging is disabled, and <code>false</code> otherwise. * * @return true, if logging is completly disabled, false otherwise. */ public static boolean isDisableLogging() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (DISABLE_LOGGING, DISABLE_LOGGING_DEFAULT).equalsIgnoreCase("true"); }
/** * Returns the log level. * * @return the log level. */ public static String getLogLevel() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (LOGLEVEL, LOGLEVEL_DEFAULT); }
/** * Returns the log level. * * @return the log level. */ public static String getLogLevel() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (LOGLEVEL, LOGLEVEL_DEFAULT); }
/** * Returns the current log target. * * @return the log target. */ public static String getLogTarget() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (LOGTARGET, LOGTARGET_DEFAULT); }
/** * Returns the current log target. * * @return the log target. */ public static String getLogTarget() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (LOGTARGET, LOGTARGET_DEFAULT); }
/** * Returns the current log target. * * @return the log target. */ public static String getLogTarget() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (LOGTARGET, LOGTARGET_DEFAULT); }
/** * Returns the log level. * * @return the log level. */ public static String getLogLevel() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (LOGLEVEL, LOGLEVEL_DEFAULT); }
/** * 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); }