com.univocity.api.engine
Interface DataIntegrationEngineFactory


public interface DataIntegrationEngineFactory

The DataIntegrationEngineFactory is loaded internally by Univocity and creates instances of DataIntegrationEngine that can be configured to execute data mapping cycles.

Author:
uniVocity Software Pty Ltd - dev@univocity.com
See Also:
Univocity, DataIntegrationEngine

Method Summary
 DataIntegrationEngine getEngine(String engineName)
          Obtains the DataIntegrationEngine instance which was configured using Univocity.registerEngine(com.univocity.api.config.EngineConfiguration)
 boolean isActive(String engineName)
          Is the data integration engine with the given name active?
 void shutdown(String engineName)
          Shuts down the DataIntegrationEngine associated with the given engine name.
 

Method Detail

getEngine

DataIntegrationEngine getEngine(String engineName)
Obtains the DataIntegrationEngine instance which was configured using Univocity.registerEngine(com.univocity.api.config.EngineConfiguration)

Parameters:
engineName - the name of the data integration engine
Returns:
the DataIntegrationEngine associated with the given engine name

shutdown

void shutdown(String engineName)
Shuts down the DataIntegrationEngine associated with the given engine name. All resources allocated by this engine will be released.
If the engine was started using an in-memory database to store metadata information, its values will be lost.

A new engine instance can be started with getEngine(String).

Parameters:
engineName - the name of the engine to be stopped.

isActive

boolean isActive(String engineName)
Is the data integration engine with the given name active?

An active engine is one that has been instantiated via getEngine(String) and has yet to be shut down.

Parameters:
engineName - the name of the engine to be verified.
Returns:
true if the DataIntegrationEngine associated with the given engine name is active, false otherwise


Copyright © 2015 uniVocity Software Pty Ltd. All rights reserved.