Wouldn't it be better to register several ManagerRegistry instances (one for the ORM, one for the MongoDB ODM and so on) rather than registering managers directly ? It would keep them lazy-loaded.