public class LoadMapperInThread
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DTS_NAME_PROPERTY
This is a very common property used by calling applications that requires to set a name to the DTS after loading.
|
Constructor and Description |
---|
LoadMapperInThread(java.net.URI configFile,
DTSLoadingBarInterface bar,
HasReceiveMappingLoadingEvents sendEventsTo,
java.util.Properties dtsProperties)
Creates a new object that will load a Mapping Engine and configuration file in a thread.
|
LoadMapperInThread(java.net.URI configFile,
int initialMappers,
DTSLoadingBarInterface bar,
HasReceiveMappingLoadingEvents sendEventsTo,
boolean bCreateMaster,
java.util.Properties dtsProperties)
Creates a new object that will load a Mapping Engine and configuration file in a thread.
|
Modifier and Type | Method and Description |
---|---|
DTSLoadingBarInterface |
getBar()
Gets the bar.
|
java.lang.Exception |
getException()
Access to the validation report.
|
MapEngine |
getMapEngine()
Returns the MapEngine loaded or null in case of errors.
|
void |
run() |
public static final java.lang.String DTS_NAME_PROPERTY
public LoadMapperInThread(java.net.URI configFile, int initialMappers, DTSLoadingBarInterface bar, HasReceiveMappingLoadingEvents sendEventsTo, boolean bCreateMaster, java.util.Properties dtsProperties) throws com.rs.lic.LicenseVerificationException
configFile
- the config fileinitialMappers
- the initial mappersbar
- the barsendEventsTo
- the send events tobCreateMaster
- the b create masterdtsProperties
- the dts propertiescom.rs.lic.LicenseVerificationException
- In case the license does not allows the user to load the DTSpublic LoadMapperInThread(java.net.URI configFile, DTSLoadingBarInterface bar, HasReceiveMappingLoadingEvents sendEventsTo, java.util.Properties dtsProperties) throws com.rs.lic.LicenseVerificationException
configFile
- the config filebar
- the barsendEventsTo
- the send events todtsProperties
- the dts propertiescom.rs.lic.LicenseVerificationException
- In case the license does not allows the user to load the DTSpublic void run()
run
in interface java.lang.Runnable
public DTSLoadingBarInterface getBar()
public MapEngine getMapEngine()
public java.lang.Exception getException()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa