com.elixirtech.report2.runtime
Class ReportEngineFactory

java.lang.Object
  extended by com.elixirtech.report2.runtime.ReportEngineFactory

public class ReportEngineFactory
extends java.lang.Object

Report Engine provider. Requires implementation of IReportHost


Constructor Summary
ReportEngineFactory()
           
 
Method Summary
static IConfigurator getConfigurator()
          Provides a configurator to allow configuration of this runtime.
static void init(IReportHost rh)
          Initialization of the Engine Factor.
static void init(IReportHost rh, java.util.Map<java.lang.String,java.lang.String> engineProperties)
          Initialization of the Engine Factory (Required).
static void init(IReportHost rh, com.elixirtech.report2.runtime.impl.ReportRuntimeConfig config)
           
static boolean isInitialized()
          Verify if the ReportEngineFactory is initialized.
static IReportAdmin newAdminInstance()
          Provides an instance of the Report Admin.
static IReportEngine newEngineInstance()
          Provides an instance of the Report Runtime Engine.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportEngineFactory

public ReportEngineFactory()
Method Detail

init

public static void init(IReportHost rh)
Initialization of the Engine Factor.


init

public static void init(IReportHost rh,
                        java.util.Map<java.lang.String,java.lang.String> engineProperties)
Initialization of the Engine Factory (Required).


init

public static void init(IReportHost rh,
                        com.elixirtech.report2.runtime.impl.ReportRuntimeConfig config)

newEngineInstance

public static IReportEngine newEngineInstance()
Provides an instance of the Report Runtime Engine. init must be called before this method can be used

Returns:
instance of the report runtime engine

newAdminInstance

public static IReportAdmin newAdminInstance()
Provides an instance of the Report Admin. init must be called before this method can be used

Returns:
instance of the report admin instance

getConfigurator

public static IConfigurator getConfigurator()
Provides a configurator to allow configuration of this runtime. Different uses of the runtime will provide different kinds of Configurator. IConfigurator.NULL is an an empty configurator. You will get IRuntimeConfigurator if running the standalone runtime.


isInitialized

public static boolean isInitialized()
Verify if the ReportEngineFactory is initialized.

Returns:
true if the factory is already initialized.