Version: 1.1.1

org.biomoby.registry.sync.handler
Class NamespaceHandler

java.lang.Object
  extended by org.biomoby.registry.sync.handler.AbstractMobyHandler<MobyNamespace>
      extended by org.biomoby.registry.sync.handler.NamespaceHandler
All Implemented Interfaces:
MobyHandler<MobyNamespace>

public class NamespaceHandler
extends AbstractMobyHandler<MobyNamespace>

Class to synchronize the namespaces in the biomoby centrals.

Author:
groscurt

Constructor Summary
NamespaceHandler(String authority)
           
 
Method Summary
 boolean register(MobyNamespace namespace)
          Register a new object to the local moby central.
 boolean unregister(MobyNamespace namespace)
          Unregister an existing object from the local moby central.
 
Methods inherited from class org.biomoby.registry.sync.handler.AbstractMobyHandler
change, hasChanged, synchronizeCentrals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceHandler

public NamespaceHandler(String authority)
                 throws MobyException
Throws:
MobyException
Method Detail

register

public boolean register(MobyNamespace namespace)
Description copied from interface: MobyHandler
Register a new object to the local moby central.

Parameters:
namespace - the object to register
Returns:
whether the registration was successfull

unregister

public boolean unregister(MobyNamespace namespace)
Description copied from interface: MobyHandler
Unregister an existing object from the local moby central.

Parameters:
namespace - the object which shall be unregistered
Returns:
whether the unregistration was successfull

Version: 1.1.1

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