Codota Logo
AbstractBoot.getGlobalConfig
Code IndexAdd Codota 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)

  • Common ways to obtain AbstractBoot
private void myMethod () {
AbstractBoot a =
  • Codota IconMethod method;(AbstractBoot) method.invoke(null, (Object[])null)
  • Smart code suggestions by Codota
}
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
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now