I would do this kind of initialization in the constructor as it has nothing to do with a setter for the EntityManager