net.sf.exorcist.dbe.impl
Class SimpleMigratorService

java.lang.Object
  extended by net.sf.exorcist.dbe.impl.SimpleMigratorService
All Implemented Interfaces:
java.lang.Runnable, MigratorService, org.dbe.servent.Adapter

public class SimpleMigratorService
extends java.lang.Object
implements org.dbe.servent.Adapter, MigratorService, java.lang.Runnable

Author:
Jukka Zitting TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
SimpleMigratorService()
           
 
Method Summary
 void destroy()
           
 void init(org.dbe.servent.ServiceContext context)
           
 void run()
           
 void scheduleMigration(java.lang.String[] srcEntries, java.lang.String srcKey, java.lang.String[] dstEntries, java.lang.String dstKey)
          Schedules an automated content migration process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMigratorService

public SimpleMigratorService()
Method Detail

init

public void init(org.dbe.servent.ServiceContext context)
Specified by:
init in interface org.dbe.servent.Adapter

destroy

public void destroy()
Specified by:
destroy in interface org.dbe.servent.Adapter

run

public void run()
Specified by:
run in interface java.lang.Runnable

scheduleMigration

public void scheduleMigration(java.lang.String[] srcEntries,
                              java.lang.String srcKey,
                              java.lang.String[] dstEntries,
                              java.lang.String dstKey)
Description copied from interface: MigratorService
Schedules an automated content migration process.

Specified by:
scheduleMigration in interface MigratorService
Parameters:
srcEntries - entries for looking up the content exporter service
srcKey - key for content export
dstEntries - entries for looking up the content importer service
dstKey - key for content import


Copyright © 2005 The Exorcist Team @ SourceForge. All Rights Reserved.