org.kuali.rice.ksb.impl.bus.diff
Class ServiceRegistryDiffCalculatorImpl
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceRegistryDiffCalculatorImpl
public ServiceRegistryDiffCalculatorImpl()
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-2012 The Kuali Foundation. All Rights Reserved.