congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSystemService (Context)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Collectors (java.util.stream)
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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