congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AbstractBoot
Code IndexAdd Tabnine to your IDE (free)

How to use
AbstractBoot
in
org.jfree.base

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

origin: jfree/jcommon

/**
 * Creates a default configuration setup, which loads its settings from
 * the static configuration (defaults provided by the developers of the
 * library) and the user configuration (settings provided by the deployer).
 * The deployer's settings override the developer's settings.
 *
 * If the parameter <code>addSysProps</code> is set to true, the system
 * properties will be added as third configuration layer. The system
 * properties configuration allows to override all other settings.
 *
 * @param staticConfig the resource name of the developers configuration
 * @param userConfig the resource name of the deployers configuration
 * @param addSysProps a flag defining whether to include the system
 *                    properties into the configuration.
 * @return the configured Configuration instance.
 */
protected Configuration createDefaultHierarchicalConfiguration
  (final String staticConfig, final String userConfig,
      final boolean addSysProps)
{
 return createDefaultHierarchicalConfiguration
   (staticConfig, userConfig, addSysProps, PropertyFileConfiguration.class);
}
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/jcommon

/**
 * Returns the global configuration.
 *
 * @return The global configuration.
 */
public synchronized Configuration getGlobalConfig() {
  if (this.globalConfig == null) {
    this.globalConfig = loadConfiguration();
  }
  return this.globalConfig;
}
origin: jfree/jcommon

  if (isBootDone()) {
    return;
  while (isBootInProgress()) {
   try {
    wait();
  if (isBootDone()) {
    return;
final BootableProjectInfo info = getProjectInfo();
if (info != null) {
  final BootableProjectInfo[] childs = info.getDependencies();
  for (int i = 0; i < childs.length; i++) {
    final AbstractBoot boot = loadBooter(childs[i].getBootClass());
    if (boot != null) {
       boot.start();
       while (boot.isBootDone() == false) {
        try {
         boot.wait();
performBoot();
if (info != null)
origin: org.jfree/com.springsource.org.jfree

globalConfig.insertConfiguration(rootProperty);
globalConfig.insertConfiguration(
    getPackageManager().getPackageConfiguration());
origin: org.jfree/jcommon

  if (isBootDone()) {
    return;
  while (isBootInProgress()) {
   try {
    wait();
  if (isBootDone()) {
    return;
final BootableProjectInfo info = getProjectInfo();
if (info != null) {
  final BootableProjectInfo[] childs = info.getDependencies();
  for (int i = 0; i < childs.length; i++) {
    final AbstractBoot boot = loadBooter(childs[i].getBootClass());
    if (boot != null) {
       boot.start();
       while (boot.isBootDone() == false) {
        try {
         boot.wait();
performBoot();
if (info != null)
origin: org.jfree/jcommon

globalConfig.insertConfiguration(rootProperty);
globalConfig.insertConfiguration(
    getPackageManager().getPackageConfiguration());
origin: org.jfree/com.springsource.org.jfree

  if (isBootDone()) {
    return;
  while (isBootInProgress()) {
   try {
    wait();
  if (isBootDone()) {
    return;
final BootableProjectInfo info = getProjectInfo();
if (info != null) {
  final BootableProjectInfo[] childs = info.getDependencies();
  for (int i = 0; i < childs.length; i++) {
    final AbstractBoot boot = loadBooter(childs[i].getBootClass());
    if (boot != null) {
       boot.start();
       while (boot.isBootDone() == false) {
        try {
         boot.wait();
performBoot();
if (info != null)
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/com.springsource.org.jfree

/**
 * Returns the global configuration.
 *
 * @return The global configuration.
 */
public synchronized Configuration getGlobalConfig() {
  if (this.globalConfig == null) {
    this.globalConfig = loadConfiguration();
  }
  return this.globalConfig;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Creates a default configuration setup, which loads its settings from
 * the static configuration (defaults provided by the developers of the
 * library) and the user configuration (settings provided by the deployer).
 * The deployer's settings override the developer's settings.
 *
 * If the parameter <code>addSysProps</code> is set to true, the system
 * properties will be added as third configuration layer. The system
 * properties configuration allows to override all other settings.
 *
 * @param staticConfig the resource name of the developers configuration
 * @param userConfig the resource name of the deployers configuration
 * @param addSysProps a flag defining whether to include the system
 *                    properties into the configuration.
 * @return the configured Configuration instance.
 */
protected Configuration createDefaultHierarchicalConfiguration
  (final String staticConfig, final String userConfig,
      final boolean addSysProps)
{
 return createDefaultHierarchicalConfiguration
   (staticConfig, userConfig, addSysProps, PropertyFileConfiguration.class);
}
origin: jfree/jcommon

globalConfig.insertConfiguration(rootProperty);
globalConfig.insertConfiguration(
    getPackageManager().getPackageConfiguration());
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: jfree/jcommon

/**
 * Returns the global configuration.
 *
 * @return The global configuration.
 */
public synchronized Configuration getGlobalConfig() {
  if (this.globalConfig == null) {
    this.globalConfig = loadConfiguration();
  }
  return this.globalConfig;
}
origin: org.jfree/jcommon

/**
 * Creates a default configuration setup, which loads its settings from
 * the static configuration (defaults provided by the developers of the
 * library) and the user configuration (settings provided by the deployer).
 * The deployer's settings override the developer's settings.
 *
 * If the parameter <code>addSysProps</code> is set to true, the system
 * properties will be added as third configuration layer. The system
 * properties configuration allows to override all other settings.
 *
 * @param staticConfig the resource name of the developers configuration
 * @param userConfig the resource name of the deployers configuration
 * @param addSysProps a flag defining whether to include the system
 *                    properties into the configuration.
 * @return the configured Configuration instance.
 */
protected Configuration createDefaultHierarchicalConfiguration
  (final String staticConfig, final String userConfig,
      final boolean addSysProps)
{
 return createDefaultHierarchicalConfiguration
   (staticConfig, userConfig, addSysProps, PropertyFileConfiguration.class);
}
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: 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: 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");
}
org.jfree.baseAbstractBoot

Javadoc

The common base for all Boot classes.

This initializes the subsystem and all dependent subsystems. Implementors of this class have to provide a public static getInstance() method which returns a singleton instance of the booter implementation.

Further creation of Boot object should be prevented using protected or private constructors in that class, or proper initialzation cannot be guaranteed.

Most used methods

  • createDefaultHierarchicalConfiguration
    Creates a default hierarchical configuration.
  • getGlobalConfig
    Returns the global 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

  • Start an intent from android
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Collectors (java.util.stream)
  • 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