|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.base.boot.AbstractBoot
org.jfree.report.JFreeReportBoot
public class JFreeReportBoot
An utility class to safely boot and initialize the JFreeReport library. This class should be called before using the JFreeReport classes, to make sure that all subsystems are initialized correctly and in the correct order.
Application developers should make sure, that the booting is done, before JFreeReport objects are used. Although the boot process will be started automaticly if needed, this automated start may no longer guarantee the module initialization order. Additional modules can be specified by defining the system property"org.jfree.report.boot.Modules"
. The property expects a comma-separated
list of org.jfree.base.modules.Module
implementations.
Booting should be done by aquirering a new boot instance using getInstance()
and then starting the boot process with AbstractBoot.start()
.
Method Summary | |
---|---|
org.pentaho.reporting.libraries.base.config.ModifiableConfiguration |
getEditableConfig()
Returns the current global configuration as modifiable instance. |
static JFreeReportBoot |
getInstance()
Returns the singleton instance of the boot utility class. |
protected org.pentaho.reporting.libraries.base.versioning.ProjectInformation |
getProjectInfo()
Returns the project info. |
static org.pentaho.reporting.libraries.base.config.Configuration |
getUserConfig()
Returns the user supplied global configuration. |
protected org.pentaho.reporting.libraries.base.config.Configuration |
loadConfiguration()
Loads the configuration. |
protected void |
performBoot()
Performs the actual boot process. |
static void |
setUserConfig(org.pentaho.reporting.libraries.base.config.Configuration config)
Defines the global user configuration. |
Methods inherited from class org.pentaho.reporting.libraries.base.boot.AbstractBoot |
---|
createDefaultHierarchicalConfiguration, getBootFailureReason, getExtendedConfig, getGlobalConfig, getPackageManager, isBootDone, isBootFailed, isBootInProgress, loadBooter, loadBooter, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JFreeReportBoot getInstance()
public org.pentaho.reporting.libraries.base.config.ModifiableConfiguration getEditableConfig()
protected org.pentaho.reporting.libraries.base.versioning.ProjectInformation getProjectInfo()
getProjectInfo
in class org.pentaho.reporting.libraries.base.boot.AbstractBoot
protected org.pentaho.reporting.libraries.base.config.Configuration loadConfiguration()
loadConfiguration
in class org.pentaho.reporting.libraries.base.boot.AbstractBoot
protected void performBoot()
performBoot
in class org.pentaho.reporting.libraries.base.boot.AbstractBoot
public static org.pentaho.reporting.libraries.base.config.Configuration getUserConfig()
public static void setUserConfig(org.pentaho.reporting.libraries.base.config.Configuration config)
config
- the user configuration.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |