Package org.pentaho.reporting.libraries.base.boot

Examples of org.pentaho.reporting.libraries.base.boot.PackageManager


      ClassicEngineBoot.logger.warn("of Java1.1 as implemented by the Sun Virtual Maschines."); // NON-NLS
      ClassicEngineBoot.logger.warn("If you are using the BEA JRockit VM, start the Java VM with the option"); // NON-NLS
      ClassicEngineBoot.logger.warn("'-Xstrictfp' to restore the default behaviour."); // NON-NLS
    }

    final PackageManager mgr = getPackageManager();

    mgr.addModule(ClassicEngineCoreModule.class.getName());
    mgr.load("org.pentaho.reporting.engine.classic.core.modules."); // NON-NLS
    mgr.load("org.pentaho.reporting.engine.classic.extensions.modules."); // NON-NLS
    mgr.load("org.pentaho.reporting.engine.classic.extensions.datasources."); // NON-NLS
    mgr.load("org.pentaho.reporting.engine.classic.core.userdefined.modules."); // NON-NLS

    bootAdditionalModules();
    mgr.initializeModules();

    if (mgr.isModuleAvailable(ClassicEngineCoreModule.class.getName()) == false)
    {
      throw new IllegalStateException("Booting the report-engine failed.");
    }

    StyleKey.lock();
View Full Code Here


public class DummyTest extends TestCase
{
  public void testNothing()
  {
    ClassicEngineBoot.getInstance().start();
    PackageManager packageManager = ClassicEngineBoot.getInstance().getPackageManager();
    Module[] activeModules = packageManager.getActiveModules();
    boolean found = false;
    for (Module activeModule : activeModules)
    {
      if (SampleDataModule.class.getName().equals(activeModule.getModuleClass()))
      {
View Full Code Here

      ClassicEngineBoot.logger.warn("of Java1.1 as implemented by the Sun Virtual Maschines."); // NON-NLS
      ClassicEngineBoot.logger.warn("If you are using the BEA JRockit VM, start the Java VM with the option"); // NON-NLS
      ClassicEngineBoot.logger.warn("'-Xstrictfp' to restore the default behaviour."); // NON-NLS
    }

    final PackageManager mgr = getPackageManager();

    mgr.addModule(ClassicEngineCoreModule.class.getName());
    mgr.load("org.pentaho.reporting.engine.classic.core.modules."); // NON-NLS
    mgr.load("org.pentaho.reporting.engine.classic.extensions.modules."); // NON-NLS
    mgr.load("org.pentaho.reporting.engine.classic.extensions.datasources."); // NON-NLS
    mgr.load("org.pentaho.reporting.engine.classic.core.userdefined.modules."); // NON-NLS

    bootAdditionalModules();
    mgr.initializeModules();

    if (mgr.isModuleAvailable(ClassicEngineCoreModule.class.getName()) == false)
    {
      throw new IllegalStateException("Booting the report-engine failed.");
    }

    StyleKey.lock();
View Full Code Here

  /**
   * Performs the boot.
   */
  protected void performBoot ()
  {
    final PackageManager packageManager = getPackageManager();
    packageManager.load("org.pentaho.reporting.libraries.resourceloader.modules.");
    packageManager.initializeModules();
  }
View Full Code Here

            "/report-designer.properties", true, ReportDesignerBoot.class);// NON-NLS
  }

  protected void performBoot()
  {
    final PackageManager packageManager = getPackageManager();
    packageManager.load("org.pentaho.reporting.designer.core.");// NON-NLS
    packageManager.load("org.pentaho.reporting.designer.modules.");// NON-NLS
    packageManager.initializeModules();

    try
    {
      // Fixes browser-launcher on OpenJDK 1.7 for MacOS
      if (MacOSXIntegration.MAC_OS_X)
View Full Code Here

            "/report-designer.properties", true, ReportDesignerBoot.class);// NON-NLS
  }

  protected void performBoot()
  {
    final PackageManager packageManager = getPackageManager();
    packageManager.load("org.pentaho.reporting.designer.core.");// NON-NLS
    packageManager.load("org.pentaho.reporting.designer.modules.");// NON-NLS
    packageManager.initializeModules();

    ProxySettings.getInstance().installAuthenticator();
    ProxySettings.getInstance().applySettings();
  }
View Full Code Here

  /**
   * Performs the boot.
   */
  protected void performBoot ()
  {
    final PackageManager packageManager = getPackageManager();
    packageManager.load("org.pentaho.reporting.libraries.resourceloader.modules.");
    packageManager.initializeModules();
  }
View Full Code Here

   */
  protected void performBoot ()
  {
    StyleKeyRegistry.getRegistry().registerDefaults();

    final PackageManager mgr = getPackageManager();
    mgr.addModule(LibLayoutCoreModule.class.getName());
    mgr.load("org.jfree.layouting.modules.");
    mgr.load("org.jfree.layouting.userdefined.modules.");
    mgr.initializeModules();
  }
View Full Code Here

      logger.warn("of Java1.1 as implemented by the Sun Virtual Maschines.");
      logger.warn("If you are using the BEA JRockit VM, start the Java VM with the option");
      logger.warn("'-Xstrictfp' to restore the default behaviour.");
    }

    final PackageManager mgr = getPackageManager();

    mgr.addModule(JFreeReportCoreModule.class.getName());
    mgr.load("org.jfree.report.modules.");
    mgr.load("org.jfree.report.ext.modules.");
    mgr.load("org.jfree.report.userdefined.modules.");

    bootAdditionalModules();
    mgr.initializeModules();
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.base.boot.PackageManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.