org.kuali.rice.ksb.impl.bus.diff
Class ServiceRegistryDiffCalculatorImpl

java.lang.Object
  extended by org.kuali.rice.ksb.impl.bus.diff.ServiceRegistryDiffCalculatorImpl
All Implemented Interfaces:
ServiceRegistryDiffCalculator

public class ServiceRegistryDiffCalculatorImpl
extends Object
implements ServiceRegistryDiffCalculator

Default implementation of the ServiceRegistryDiffCalculator which calculates differences between client service bus state and service registry state.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ServiceRegistryDiffCalculatorImpl()
           
 
Method Summary
protected  LocalServicesDiff calculateLocalServicesDiff(List<ServiceInfo> allRegistryServicesForInstance, String instanceId, List<LocalService> localServices)
           
protected  RemoteServicesDiff calculateRemoteServicesDiff(List<ServiceInfo> allRegistryServices, List<RemoteService> clientRegistryCache)
           
 CompleteServiceDiff diffServices(String instanceId, List<LocalService> localServices, List<RemoteService> clientRegistryCache)
           
 void setServiceRegistry(ServiceRegistry serviceRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRegistryDiffCalculatorImpl

public ServiceRegistryDiffCalculatorImpl()
Method Detail

setServiceRegistry

public void setServiceRegistry(ServiceRegistry serviceRegistry)

diffServices

public CompleteServiceDiff diffServices(String instanceId,
                                        List<LocalService> localServices,
                                        List<RemoteService> clientRegistryCache)
Specified by:
diffServices in interface ServiceRegistryDiffCalculator

calculateLocalServicesDiff

protected LocalServicesDiff calculateLocalServicesDiff(List<ServiceInfo> allRegistryServicesForInstance,
                                                       String instanceId,
                                                       List<LocalService> localServices)

calculateRemoteServicesDiff

protected RemoteServicesDiff calculateRemoteServicesDiff(List<ServiceInfo> allRegistryServices,
                                                         List<RemoteService> clientRegistryCache)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.