synchronized (locations) {
clonedLocations = new HashSet<URI>(locations);
}
for (EjbDeploymentIdAccessor deploymentIdAccessor : NetworkConnectorMonitor.this.idAccessors) {
String deploymentId = deploymentIdAccessor.getDeploymentId();
ServiceProxy proxy = trackerProxyFactory.getProxy();
RemoteNode remoteNode = (RemoteNode) joiningNode;
proxy.getInvocationMetaData().setTargets(new Peer[] {remoteNode.getPeer()});
NetworkConnectorTracker tracker = (NetworkConnectorTracker) proxy;
tracker.registerNetworkConnectorLocations(deploymentId, nodeName, clonedLocations);
}
}