public class ProcessLoader extends Object
This class loads the right process based on the method URI provided in the SensorML description. If the URI is known locally, the corresponding class is instantiated
Modifier and Type | Field and Description |
---|---|
static Hashtable<String,String> |
processMap |
Constructor and Description |
---|
ProcessLoader() |
Modifier and Type | Method and Description |
---|---|
static void |
loadMaps(String libFileUrl,
boolean replace)
Loads the URI to Process Class map using the provided XML file.
|
IProcessExec |
loadProcess(String uri)
Loads the DataProcess implementation corresponding to the given URI.
|
static void |
reloadMaps(String libFileUrl)
Reloads the URI to Process Class map using the provided XML file
completely erases previous table.
|
public IProcessExec loadProcess(String uri) throws SMLException
uri
- The URI of the method (i.e. the specific process to instantiate)SMLException
public static void reloadMaps(String libFileUrl) throws SMLException
libFileUrl
- Url to the file containing the mapping definitionsSMLException
public static void loadMaps(String libFileUrl, boolean replace) throws SMLException
libFileUrl
- Url to the file containing the mapping definitionsreplace
- If true, existing entries are replacedSMLException
Copyright © 2016 Sensia Software LLC. All rights reserved.