HHH-12133 - Create ManagedBeanRegistry and ManagedBean

- minor name change
This commit is contained in:
Steve Ebersole 2018-01-18 10:17:28 -06:00
parent 12d73ee092
commit a426068b2d
4 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ package org.hibernate.resource.beans.container.internal;
import javax.enterprise.inject.spi.BeanManager; 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.BeanLifecycleStrategy;
import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor; import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor;
import org.hibernate.resource.beans.spi.BeanInstanceProducer; import org.hibernate.resource.beans.spi.BeanInstanceProducer;
@ -17,7 +17,7 @@ import org.hibernate.resource.beans.spi.BeanInstanceProducer;
* @author Steve Ebersole * @author Steve Ebersole
*/ */
@SuppressWarnings("unused") @SuppressWarnings("unused")
public class CdiBeanContainerDelayedAccessImpl extends AbstractBeanContainer { public class CdiBeanContainerDelayedAccessImpl extends AbstractCdiBeanContainer {
private final BeanManager beanManager; private final BeanManager beanManager;
private CdiBeanContainerDelayedAccessImpl(BeanManager beanManager) { private CdiBeanContainerDelayedAccessImpl(BeanManager beanManager) {

View File

@ -9,7 +9,7 @@ package org.hibernate.resource.beans.container.internal;
import javax.enterprise.inject.spi.BeanManager; import javax.enterprise.inject.spi.BeanManager;
import org.hibernate.jpa.event.spi.jpa.ExtendedBeanManager; 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.BeanLifecycleStrategy;
import org.hibernate.resource.beans.container.spi.ContainedBean; import org.hibernate.resource.beans.container.spi.ContainedBean;
import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor; import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor;
@ -22,7 +22,7 @@ import org.jboss.logging.Logger;
*/ */
@SuppressWarnings("unused") @SuppressWarnings("unused")
public class CdiBeanContainerExtendedAccessImpl public class CdiBeanContainerExtendedAccessImpl
extends AbstractBeanContainer extends AbstractCdiBeanContainer
implements ExtendedBeanManager.LifecycleListener { implements ExtendedBeanManager.LifecycleListener {
// NOTE : we continue to use the deprecated form for now since that is what WildFly needs for the time being still // NOTE : we continue to use the deprecated form for now since that is what WildFly needs for the time being still

View File

@ -8,7 +8,7 @@ package org.hibernate.resource.beans.container.internal;
import javax.enterprise.inject.spi.BeanManager; 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.BeanLifecycleStrategy;
import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor; import org.hibernate.resource.beans.container.spi.ContainedBeanImplementor;
import org.hibernate.resource.beans.spi.BeanInstanceProducer; import org.hibernate.resource.beans.spi.BeanInstanceProducer;
@ -19,7 +19,7 @@ import org.jboss.logging.Logger;
* @author Steve Ebersole * @author Steve Ebersole
*/ */
@SuppressWarnings("unused") @SuppressWarnings("unused")
public class CdiBeanContainerImmediateAccessImpl extends AbstractBeanContainer { public class CdiBeanContainerImmediateAccessImpl extends AbstractCdiBeanContainer {
private static final Logger log = Logger.getLogger( CdiBeanContainerImmediateAccessImpl.class ); private static final Logger log = Logger.getLogger( CdiBeanContainerImmediateAccessImpl.class );
private final BeanManager beanManager; private final BeanManager beanManager;

View File

@ -22,7 +22,7 @@ import org.hibernate.resource.beans.spi.BeanInstanceProducer;
/** /**
* @author Steve Ebersole * @author Steve Ebersole
*/ */
public abstract class AbstractBeanContainer implements CdiBasedBeanContainer { public abstract class AbstractCdiBeanContainer implements CdiBasedBeanContainer {
private Map<String,ContainedBeanImplementor<?>> beanCache = new HashMap<>(); private Map<String,ContainedBeanImplementor<?>> beanCache = new HashMap<>();
private List<ContainedBeanImplementor<?>> registeredBeans = new ArrayList<>(); private List<ContainedBeanImplementor<?>> registeredBeans = new ArrayList<>();