Ireland head coach Joe Schmidt has been planning for outside centre Brian O'Driscoll's retirement for the past nine months.