Top Inners Fields Constructors Methods
org.hibernate.resource.beans.container.internal

public Class CdiBeanContainerExtendedAccessImpl

extends AbstractCdiBeanContainer
implements LifecycleListener
Class Inheritance
All Implemented Interfaces
org.hibernate.resource.beans.container.spi.ExtendedBeanManager.LifecycleListener
Annotations
@SuppressWarnings:unused
Imports
javax.enterprise.inject.spi.BeanManager, org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer, .BeanLifecycleStrategy, .ContainedBean, .ContainedBeanImplementor, .ExtendedBeanManager, org.hibernate.resource.beans.spi.BeanInstanceProducer, org.jboss.logging.Logger

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private class

Field Summary

Modifier and TypeField and Description
private final CdiBasedBeanContainer
private static final Logger
private BeanManager

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
public void
protected <B> ContainedBeanImplementor<B>
protected <B> ContainedBeanImplementor<B>
public BeanManager
Inherited from org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer:
forEachBeangetBeangetBeanstop

Field Detail

DUMMY_BEAN_CONTAINERback to summary
private final CdiBasedBeanContainer DUMMY_BEAN_CONTAINER
logback to summary
private static final Logger log
usableBeanManagerback to summary
private BeanManager usableBeanManager

Constructor Detail

CdiBeanContainerExtendedAccessImplback to summary
private CdiBeanContainerExtendedAccessImpl(ExtendedBeanManager beanManager)

Method Detail

beanManagerInitializedback to summary
public void beanManagerInitialized(BeanManager beanManager)

Implements org.hibernate.resource.beans.container.spi.ExtendedBeanManager.LifecycleListener.beanManagerInitialized.

Annotations
@Override
beforeBeanManagerDestroyedback to summary
public void beforeBeanManagerDestroyed(BeanManager beanManager)

Implements org.hibernate.resource.beans.container.spi.ExtendedBeanManager.LifecycleListener.beforeBeanManagerDestroyed.

Annotations
@Override
createBeanback to summary
protected <B> ContainedBeanImplementor<B> createBean(Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)

Implements abstract org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer.createBean.

Annotations
@Override
createBeanback to summary
protected <B> ContainedBeanImplementor<B> createBean(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)

Implements abstract org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer.createBean.

Annotations
@Override
getUsableBeanManagerback to summary
public BeanManager getUsableBeanManager()

Implements org.hibernate.resource.beans.container.internal.CdiBasedBeanContainer.getUsableBeanManager.

Annotations
@Override
org.hibernate.resource.beans.container.internal back to summary

private Class CdiBeanContainerExtendedAccessImpl.BeanImpl<B>

extends Object
implements ContainedBeanImplementor<B>
Class Inheritance
  • java.lang.Object
  • org.hibernate.resource.beans.container.internal.CdiBeanContainerExtendedAccessImpl.BeanImpl
All Implemented Interfaces
org.hibernate.resource.beans.container.spi.ContainedBeanImplementor, org.hibernate.resource.beans.container.spi.ContainedBean

Field Summary

Modifier and TypeField and Description
private final Class<B>
private ContainedBeanImplementor<B>
private final BeanInstanceProducer
private final BeanLifecycleStrategy

Constructor Summary

AccessConstructor and Description
private
BeanImpl(Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)

Method Summary

Modifier and TypeMethod and Description
public B
getBeanInstance()

Implements org.hibernate.resource.beans.container.spi.ContainedBean.getBeanInstance.

Get the bean instance producer associated with this container-backed bean
public void
initialize()

Implements org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.initialize.

Allow the container to force initialize the lifecycle-generated bean
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

beanTypeback to summary
private final Class<B> beanType
delegateContainedBeanback to summary
private ContainedBeanImplementor<B> delegateContainedBean
fallbackProducerback to summary
private final BeanInstanceProducer fallbackProducer
lifecycleStrategyback to summary
private final BeanLifecycleStrategy lifecycleStrategy

Constructor Detail

BeanImplback to summary
private BeanImpl(Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)

Method Detail

getBeanInstanceback to summary
public B getBeanInstance()

Implements org.hibernate.resource.beans.container.spi.ContainedBean.getBeanInstance.

Doc from org.hibernate.resource.beans.container.spi.ContainedBean.getBeanInstance.

Get the bean instance producer associated with this container-backed bean

Annotations
@Override
initializeback to summary
public void initialize()

Implements org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.initialize.

Doc from org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.initialize.

Allow the container to force initialize the lifecycle-generated bean

Annotations
@Override
releaseback to summary
public void release()

Implements org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.release.

Doc from org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.release.

Release any resources

Annotations
@Override
org.hibernate.resource.beans.container.internal back to summary

private Class CdiBeanContainerExtendedAccessImpl.NamedBeanImpl<B>

extends Object
implements ContainedBeanImplementor<B>
Class Inheritance
  • java.lang.Object
  • org.hibernate.resource.beans.container.internal.CdiBeanContainerExtendedAccessImpl.NamedBeanImpl
All Implemented Interfaces
org.hibernate.resource.beans.container.spi.ContainedBeanImplementor, org.hibernate.resource.beans.container.spi.ContainedBean

Field Summary

Modifier and TypeField and Description
private final Class<B>
private ContainedBeanImplementor<B>
private final BeanInstanceProducer
private final BeanLifecycleStrategy
private final String

Constructor Summary

AccessConstructor and Description
private
NamedBeanImpl(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)

Method Summary

Modifier and TypeMethod and Description
public B
getBeanInstance()

Implements org.hibernate.resource.beans.container.spi.ContainedBean.getBeanInstance.

Get the bean instance producer associated with this container-backed bean
public void
initialize()

Implements org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.initialize.

Allow the container to force initialize the lifecycle-generated bean
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

beanTypeback to summary
private final Class<B> beanType
delegateContainedBeanback to summary
private ContainedBeanImplementor<B> delegateContainedBean
fallbackProducerback to summary
private final BeanInstanceProducer fallbackProducer
lifecycleStrategyback to summary
private final BeanLifecycleStrategy lifecycleStrategy
nameback to summary
private final String name

Constructor Detail

NamedBeanImplback to summary
private NamedBeanImpl(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)

Method Detail

getBeanInstanceback to summary
public B getBeanInstance()

Implements org.hibernate.resource.beans.container.spi.ContainedBean.getBeanInstance.

Doc from org.hibernate.resource.beans.container.spi.ContainedBean.getBeanInstance.

Get the bean instance producer associated with this container-backed bean

Annotations
@Override
initializeback to summary
public void initialize()

Implements org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.initialize.

Doc from org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.initialize.

Allow the container to force initialize the lifecycle-generated bean

Annotations
@Override
releaseback to summary
public void release()

Implements org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.release.

Doc from org.hibernate.resource.beans.container.spi.ContainedBeanImplementor.release.

Release any resources

Annotations
@Override