org.biomoby.registry.sync
Class AbstractMobySynchronize
java.lang.Object
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
AbstractMobySynchronize
public AbstractMobySynchronize()
throws MobyException
- Throws:
MobyException
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
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010