Example usage for org.hibernate.resource.beans.container.spi ExtendedBeanManager interface-usage

List of usage examples for org.hibernate.resource.beans.container.spi ExtendedBeanManager interface-usage

Introduction

In this page you can find the example usage for org.hibernate.resource.beans.container.spi ExtendedBeanManager interface-usage.

Usage

From source file org.jboss.as.jpa.hibernate5.HibernateExtendedBeanManager.java

/**
 * HibernateExtendedBeanManager helps defer the registering of entity listeners, with the CDI BeanManager until
 * after the persistence unit is available for lookup by CDI bean(s).
 * This solves the WFLY-2387 issue of JPA entity listeners referencing the CDI bean, when the bean cycles back
 * to the persistence unit, or a different persistence unit.
 *