Exchange mechanisms in diluted magnetic semiconductors