public interface ReferentialSynchroService
Modifier and Type | Method and Description |
---|---|
SynchroContext |
createSynchroContext(File sourceDbDirectory)
Create a synchro context, from a source database directory (HSQLDB only).
|
SynchroContext |
createSynchroContext(Properties sourceConnectionProperties)
Create a synchro context, using configuration properties for target and source properties.
|
void |
prepare(SynchroContext synchroContext)
Prepare the synchronize operation from the local data database supported
by this service, says just compute nb rows to update for each table and
update the result model.
|
void |
synchronize(SynchroContext synchroContext)
Launch the synchronize operation from the local data database supported
by this service.
|
SynchroContext createSynchroContext(File sourceDbDirectory)
sourceDbDirectory
- a directory with a HSQLDB directory.SynchroContext createSynchroContext(Properties sourceConnectionProperties)
sourceConnectionProperties
- Properties to use as source connection (could be Oracle, HSQLDB...)void prepare(SynchroContext synchroContext)
synchroContext
- context of synchro operationvoid synchronize(SynchroContext synchroContext)
synchroContext
- context of synchro operationCopyright © 2012–2014 IFREMER. All rights reserved.