use of com.servoy.j2db.persistence.ServerProxy in project servoy-client by Servoy.
the class FlattenedSolution method combineServerProxies.
private void combineServerProxies(ConcurrentMap<String, IServer> orgs, ConcurrentMap<String, IServer> additional) throws RemoteException {
Iterator<IServer> it = additional.values().iterator();
while (it.hasNext()) {
IServer addObject = it.next();
IServer orgObject = orgs.get(addObject.getName());
if (addObject instanceof ServerProxy) {
ServerProxy add = (ServerProxy) addObject;
if (orgObject == null) {
orgs.put(add.getName(), add);
} else if (orgObject instanceof ServerProxy) {
ServerProxy org = (ServerProxy) orgObject;
org.combineTables(add);
}
}
}
}
Aggregations