Class RevealEngineInitializer
- java.lang.Object
-
- com.infragistics.reveal.engine.init.RevealEngineInitializer
-
public class RevealEngineInitializer extends Object
Class used to initialize the Reveal BI Engine, seeinitialize(InitializeParameter)
for more information.
-
-
Constructor Summary
Constructors Constructor Description RevealEngineInitializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<Class<?>>
getClassesToRegister()
Returns a set with all JAX-RS resource classes required for Reveal Engine, this might be required to run Reveal inside some containers like Spring Boot.static IDashboardExporter
getDashboardExporter()
static String
getRevealSdkVersion()
Get the SDK version being used, this value can be used in a log message or for linking resources like JS files, so they are referenced with a different URL when the SDK is updated, in order to ensure new files are downloaded client side.static void
initialize()
Default initialization method with default providers, you'll usually useinitialize(com.infragistics.reveal.engine.init.InitializeParameter)
.static void
initialize(InitializeParameter parameterObject)
Initialize the Reveal BI Engine with the specified parameter,InitializeParameterBuilder
needs to used to build an instance ofInitializeParameter
class.static void
registerResource(Class<?> resourceClass)
Registers a resource class to be used in the JAX-RS application used by Reveal Engine, might be useful to register filters like a CORS filter.
-
-
-
Method Detail
-
initialize
public static void initialize()
Default initialization method with default providers, you'll usually useinitialize(com.infragistics.reveal.engine.init.InitializeParameter)
.
-
initialize
public static void initialize(InitializeParameter parameterObject)
Initialize the Reveal BI Engine with the specified parameter,InitializeParameterBuilder
needs to used to build an instance ofInitializeParameter
class.- Parameters:
parameterObject
- The parameter object,InitializeParameterBuilder
needs to used to build an instance ofInitializeParameter
class
-
getDashboardExporter
public static IDashboardExporter getDashboardExporter()
-
getRevealSdkVersion
public static String getRevealSdkVersion()
Get the SDK version being used, this value can be used in a log message or for linking resources like JS files, so they are referenced with a different URL when the SDK is updated, in order to ensure new files are downloaded client side.- Returns:
- The SDK version being used
-
registerResource
public static void registerResource(Class<?> resourceClass)
Registers a resource class to be used in the JAX-RS application used by Reveal Engine, might be useful to register filters like a CORS filter.- Parameters:
resourceClass
- The resource class to install in the JAX-RS application used by Reveal Engine.
-
-