openlsd.multiple.admin
Class LSDOpHandlerImport

java.lang.Object
  extended by openlsd.multiple.admin.LSDOpHandlerImport

public class LSDOpHandlerImport
extends java.lang.Object

This class is intend to propose a framework to enable database replication using an applicative way (replication of orders to redo in replicated databases) based on the final export files that can be produced by the OpHandlerExport itself, using a format as "idip;op;lid;sid;did;size;md5;business-index". The global logic is to import or delete references if the idip is the one concerned by the local Host.

Author:
Frederic BREGIER LGPL 2007

Constructor Summary
LSDOpHandlerImport()
           
 
Method Summary
static void main(java.lang.String[] args)
          This class proposes a way to import a "full" export file containing all necessary information for database replication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSDOpHandlerImport

public LSDOpHandlerImport()
Method Detail

main

public static void main(java.lang.String[] args)
This class proposes a way to import a "full" export file containing all necessary information for database replication.

Parameters:
args - as client side configfilename, the -idip idip option where idip is the local idip of the OpenLSD Server that import the following full export file and then the filename containing the full export from OpHandlerExport.