Martin Kouba any suggestions on how the javax.enterprise.inject.spi.AfterDeploymentValidation event parameter can be used to lookup the Hibernate object associated with the EntityListener? Hibernate cannot depend on the org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl (which seems to have a deployment bean manager). If a getDeploymentBeanManager method were added to the AfterDeploymentValidation interface, would we be able to lookup a Hibernate object associated with the deployment bean manager? |