Version: 1.1.1

org.biomoby.registry.sync.handler
Class ServiceHandler

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

public class ServiceHandler
extends AbstractMobyHandler<MobyService>

Class to synchronize the services in the biomoby centrals.

Author:
groscurt

Constructor Summary
ServiceHandler(String authority)
           
 
Method Summary
 boolean register(MobyService service)
          Register a new object to the local moby central.
 boolean unregister(MobyService service)
          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

ServiceHandler

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

unregister

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

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

register

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

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

Version: 1.1.1

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