Tabnine Logo
PackageState.initialize
Code IndexAdd Tabnine to your IDE (free)

How to use
initialize
method
in
org.jfree.base.modules.PackageState

Best Java code snippets using org.jfree.base.modules.PackageState.initialize (Showing top 3 results out of 315)

origin: jfree/jcommon

/**
 * Initializes all previously uninitialized modules. Once a module is initialized,
 * it is not re-initialized a second time.
 */
public synchronized void initializeModules() {
  // sort by subsystems and dependency
  PackageSorter.sort(this.modules);
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.configure(this.booter)) {
      Log.debug(new Log.SimpleMessage("Conf: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.initialize(this.booter)) {
      Log.debug(new Log.SimpleMessage("Init: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
}
origin: org.jfree/jcommon

/**
 * Initializes all previously uninitialized modules. Once a module is initialized,
 * it is not re-initialized a second time.
 */
public synchronized void initializeModules() {
  // sort by subsystems and dependency
  PackageSorter.sort(this.modules);
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.configure(this.booter)) {
      Log.debug(new Log.SimpleMessage("Conf: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.initialize(this.booter)) {
      Log.debug(new Log.SimpleMessage("Init: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Initializes all previously uninitialized modules. Once a module is initialized,
 * it is not re-initialized a second time.
 */
public synchronized void initializeModules() {
  // sort by subsystems and dependency
  PackageSorter.sort(this.modules);
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.configure(this.booter)) {
      Log.debug(new Log.SimpleMessage("Conf: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.initialize(this.booter)) {
      Log.debug(new Log.SimpleMessage("Init: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
}
org.jfree.base.modulesPackageStateinitialize

Javadoc

Initializes the contained module and raises the set of the module to STATE_INITIALIZED, if the module was not yet initialized. In case of an error, the module state will be set to STATE_ERROR and the module will not be available.

Popular methods of PackageState

  • <init>
    Creates a new package state for the given module. The module state will be initialized to the given
  • configure
    Configures the module and raises the state to STATE_CONFIGURED if the module is not yet configured.
  • getModule
    Returns the module managed by this state implementation.
  • getState
    Returns the current state of the module. This method returns either STATE_NEW, STATE_CONFIGURED, STA

Popular in Java

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
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