removed, will replace with a required dependency on the bean manager service (if we detect beans.xml and are not enhancing entity classes).