It might be useful if the afterDeploymentValidation(@Observes AfterDeploymentValidation event, BeanManager manager) callback had a way to lookup an object that Hibernate registered with it (like an instance of org.hibernate.jpa.event.internal.jpa.BeanManagerListenerFactory or BeanManagerListenerFactory$BeanMetaData). |