Tabnine Logo
AbstractBoot.getGlobalConfig
Code IndexAdd Tabnine to your IDE (free)

How to use
getGlobalConfig
method
in
org.jfree.base.AbstractBoot

Best Java code snippets using org.jfree.base.AbstractBoot.getGlobalConfig (Showing top 18 results out of 315)

origin: org.jfree/jcommon

/**
 * Returns the global configuration as modifiable configuration reference.
 *
 * @return the global configuration
 */
public static ModifiableConfiguration getConfiguration() {
  return (ModifiableConfiguration) getInstance().getGlobalConfig();
}
origin: jfree/jcommon

/**
 * Returns the global configuration as modifiable configuration reference.
 *
 * @return the global configuration
 */
public static ModifiableConfiguration getConfiguration() {
  return (ModifiableConfiguration) getInstance().getGlobalConfig();
}
origin: org.jfree/com.springsource.org.jfree

  /**
   * Returns the global configuration as extended configuration.
   *
   * @return the extended configuration.
   */
  public synchronized ExtendedConfiguration getExtendedConfig ()
  {
   if (extWrapper == null) {
     extWrapper = new ExtendedConfigurationWrapper(getGlobalConfig());
   }
   return extWrapper;
  }
}
origin: jfree/jcommon

  /**
   * 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;
  }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns the global configuration as modifiable configuration reference.
 *
 * @return the global configuration
 */
public static ModifiableConfiguration getConfiguration() {
  return (ModifiableConfiguration) getInstance().getGlobalConfig();
}
origin: org.jfree/jcommon

  /**
   * 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;
  }
}
origin: jfree/jcommon

/**
 * 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");
}
origin: org.jfree/com.springsource.org.jfree

/**
 * 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");
}
origin: org.jfree/jcommon

/**
 * 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");
}
origin: jfree/jcommon

/**
 * Returns the log level.
 *
 * @return the log level.
 */
public static String getLogLevel()
{
 return BaseBoot.getInstance().getGlobalConfig().getConfigProperty
     (LOGLEVEL, LOGLEVEL_DEFAULT);
}
origin: org.jfree/jcommon

/**
 * Returns the log level.
 *
 * @return the log level.
 */
public static String getLogLevel()
{
 return BaseBoot.getInstance().getGlobalConfig().getConfigProperty
     (LOGLEVEL, LOGLEVEL_DEFAULT);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns the current log target.
 *
 * @return the log target.
 */
public static String getLogTarget()
{
 return BaseBoot.getInstance().getGlobalConfig().getConfigProperty
     (LOGTARGET, LOGTARGET_DEFAULT);
}
origin: jfree/jcommon

/**
 * Returns the current log target.
 *
 * @return the log target.
 */
public static String getLogTarget()
{
 return BaseBoot.getInstance().getGlobalConfig().getConfigProperty
     (LOGTARGET, LOGTARGET_DEFAULT);
}
origin: org.jfree/jcommon

/**
 * Returns the current log target.
 *
 * @return the log target.
 */
public static String getLogTarget()
{
 return BaseBoot.getInstance().getGlobalConfig().getConfigProperty
     (LOGTARGET, LOGTARGET_DEFAULT);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns the log level.
 *
 * @return the log level.
 */
public static String getLogLevel()
{
 return BaseBoot.getInstance().getGlobalConfig().getConfigProperty
     (LOGLEVEL, LOGLEVEL_DEFAULT);
}
origin: jfree/jcommon

/**
 * 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);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * 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);
}
origin: org.jfree/jcommon

/**
 * 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);
}
org.jfree.baseAbstractBootgetGlobalConfig

Javadoc

Returns the global configuration.

Popular methods of AbstractBoot

  • createDefaultHierarchicalConfiguration
    Creates a default hierarchical configuration.
  • getPackageManager
    Returns the packageManager instance of the package manager.
  • getProjectInfo
    Returns the project info.
  • isBootDone
    Checks, whether the booting is complete.
  • isBootInProgress
    Checks, whether the booting is in progress.
  • loadBooter
    Loads the specified booter implementation.
  • loadConfiguration
    Loads the configuration. This will be called exactly once.
  • performBoot
    Performs the boot.
  • start
    Starts the boot process.

Popular in Java

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Path (java.nio.file)
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now