public void updateLocations(Iterator iIter){
  if (ContainerList != null)   ContainerList.clear();
  ContainerList=new ArrayList();
  while (iIter.hasNext())   ContainerList.add((Location)iIter.next());
  addBehaviour(new MigrateBehaviour());
}

public void updateLocations ( Iterator iIter ) { if ( ContainerList != null ) ContainerList . clear ( ) ; ContainerList = new ArrayList ( ) ; while ( iIter . hasNext ( ) ) ContainerList . add ( ( Location ) iIter . next ( ) ) ; addBehaviour ( new MigrateBehaviour ( ) ) ; }
updates the location list and schedules migrations .
