HHH-12133 - Create ManagedBeanRegistry and ManagedBean
- minor name change
This commit is contained in:
parent
12d73ee092
commit
a426068b2d
|
@ -8,7 +8,7 @@ package org.hibernate.resource.beans.container.internal;
|
|||
|
||||
import javax.enterprise.inject.spi.BeanManager;
|
||||
|
||||
import org.hibernate.resource.beans.container.spi.AbstractBeanContainer;
|
||||
import org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer;
|
||||
import org.hibernate.resource.beans.container.spi.BeanLifecycleStrategy;
|
||||
import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor;
|
||||
import org.hibernate.resource.beans.spi.BeanInstanceProducer;
|
||||
|
@ -17,7 +17,7 @@ import org.hibernate.resource.beans.spi.BeanInstanceProducer;
|
|||
* @author Steve Ebersole
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class CdiBeanContainerDelayedAccessImpl extends AbstractBeanContainer {
|
||||
public class CdiBeanContainerDelayedAccessImpl extends AbstractCdiBeanContainer {
|
||||
private final BeanManager beanManager;
|
||||
|
||||
private CdiBeanContainerDelayedAccessImpl(BeanManager beanManager) {
|
||||
|
|
|
@ -9,7 +9,7 @@ package org.hibernate.resource.beans.container.internal;
|
|||
import javax.enterprise.inject.spi.BeanManager;
|
||||
|
||||
import org.hibernate.jpa.event.spi.jpa.ExtendedBeanManager;
|
||||
import org.hibernate.resource.beans.container.spi.AbstractBeanContainer;
|
||||
import org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer;
|
||||
import org.hibernate.resource.beans.container.spi.BeanLifecycleStrategy;
|
||||
import org.hibernate.resource.beans.container.spi.ContainedBean;
|
||||
import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor;
|
||||
|
@ -22,7 +22,7 @@ import org.jboss.logging.Logger;
|
|||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class CdiBeanContainerExtendedAccessImpl
|
||||
extends AbstractBeanContainer
|
||||
extends AbstractCdiBeanContainer
|
||||
implements ExtendedBeanManager.LifecycleListener {
|
||||
|
||||
// NOTE : we continue to use the deprecated form for now since that is what WildFly needs for the time being still
|
||||
|
|
|
@ -8,7 +8,7 @@ package org.hibernate.resource.beans.container.internal;
|
|||
|
||||
import javax.enterprise.inject.spi.BeanManager;
|
||||
|
||||
import org.hibernate.resource.beans.container.spi.AbstractBeanContainer;
|
||||
import org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer;
|
||||
import org.hibernate.resource.beans.container.spi.BeanLifecycleStrategy;
|
||||
import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor;
|
||||
import org.hibernate.resource.beans.spi.BeanInstanceProducer;
|
||||
|
@ -19,7 +19,7 @@ import org.jboss.logging.Logger;
|
|||
* @author Steve Ebersole
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class CdiBeanContainerImmediateAccessImpl extends AbstractBeanContainer {
|
||||
public class CdiBeanContainerImmediateAccessImpl extends AbstractCdiBeanContainer {
|
||||
private static final Logger log = Logger.getLogger( CdiBeanContainerImmediateAccessImpl.class );
|
||||
|
||||
private final BeanManager beanManager;
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.hibernate.resource.beans.spi.BeanInstanceProducer;
|
|||
/**
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
public abstract class AbstractBeanContainer implements CdiBasedBeanContainer {
|
||||
public abstract class AbstractCdiBeanContainer implements CdiBasedBeanContainer {
|
||||
private Map<String,ContainedBeanImplementor<?>> beanCache = new HashMap<>();
|
||||
private List<ContainedBeanImplementor<?>> registeredBeans = new ArrayList<>();
|
||||
|
Loading…
Reference in New Issue