Version: 1.1.1

org.biomoby.registry.sync
Class AbstractMobySynchronize

java.lang.Object
  extended by org.biomoby.registry.sync.AbstractMobySynchronize
All Implemented Interfaces:
MobySynchronize
Direct Known Subclasses:
MobySynchronizeImpl

public abstract class AbstractMobySynchronize
extends Object
implements MobySynchronize

Basic abstract class for the synchronization of a local moby central with a master moby central.
The four moby datatypes - MobyNamespace,MobyDataType, MobyServiceType, MobyService - are updated sequentially.
If one of these types shall not be updated one can change the behavior of the update process in the configuration file.

Author:
groscurt

Constructor Summary
AbstractMobySynchronize()
           
 
Method Summary
 void updateRegistry(Properties configuration)
          Updates the local registry.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.biomoby.registry.sync.MobySynchronize
updateDatatypes, updateNamespaces, updateServices, updateServiceTypes
 

Constructor Detail

AbstractMobySynchronize

public AbstractMobySynchronize()
                        throws MobyException
Throws:
MobyException
Method Detail

updateRegistry

public void updateRegistry(Properties configuration)
                    throws MobyException
Updates the local registry.

Parameters:
configuration - the configuration to see which types shall be updated
Throws:
MobyException - whether an update failed

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010