software/webapp/src/main/java/org/apache/brooklyn/entity/proxy/AbstractControllerImpl.java [447:458]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void changeServerPool(String groupId) {
        Group newGroup = (Group) getManagementContext().getEntityManager().getEntity(groupId);
        if (newGroup == null) {
            throw new IllegalArgumentException("Group '"+groupId+"' not found");
        }
        
        config().set(SERVER_POOL, newGroup);
        if (hasServerPoolMemberTrackingPolicy()) {
            addServerPoolMemberTrackingPolicy();
        }
        updateNeeded();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



software/webapp/src/main/java/org/apache/brooklyn/entity/proxy/AbstractNonProvisionedControllerImpl.java [298:309]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void changeServerPool(String groupId) {
        Group newGroup = (Group) getManagementContext().getEntityManager().getEntity(groupId);
        if (newGroup == null) {
            throw new IllegalArgumentException("Group '"+groupId+"' not found");
        }
        
        config().set(SERVER_POOL, newGroup);
        if (hasServerPoolMemberTrackingPolicy()) {
            addServerPoolMemberTrackingPolicy();
        }
        updateNeeded();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



