http/balancer/src/main/java/org/apache/karaf/cellar/http/balancer/LocalServletListener.java [71:87]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                List<String> locations = clusterServlets.get(alias);
                if (locations == null) {
                    locations = new ArrayList<String>();
                }

                if (!locations.contains(location)) {
                    LOGGER.debug("CELLAR HTTP BALANCER: adding location {} to servlet {} on cluster", location, alias);
                    locations.add(location);
                    clusterServlets.put(alias, locations);
                    // send cluster event
                    ClusterBalancerEvent event = new ClusterBalancerEvent(alias, ClusterBalancerEvent.ADDING, locations);
                    event.setSourceGroup(group);
                    event.setSourceNode(clusterManager.getNode());
                    event.setLocal(clusterManager.getNode());
                    eventProducer.produce(event);
                } else {
                    LOGGER.debug("CELLAR HTTP BALANCER: location {} already defined for servlet {} on cluster", location, alias);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



http/balancer/src/main/java/org/apache/karaf/cellar/http/balancer/ServletSynchronizer.java [139:155]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                            List<String> locations = clusterServlets.get(alias);
                            if (locations == null) {
                                locations = new ArrayList<String>();
                            }

                            if (!locations.contains(location)) {
                                LOGGER.debug("CELLAR HTTP BALANCER: adding location {} to servlet {} on cluster", location, alias);
                                locations.add(location);
                                clusterServlets.put(alias, locations);
                                // send cluster event
                                ClusterBalancerEvent event = new ClusterBalancerEvent(alias, ClusterBalancerEvent.ADDING, locations);
                                event.setSourceGroup(group);
                                event.setSourceNode(clusterManager.getNode());
                                event.setLocal(clusterManager.getNode());
                                eventProducer.produce(event);
                            } else {
                                LOGGER.debug("CELLAR HTTP BALANCER: location {} already defined for servlet {} on cluster", location, alias);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



