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

public Class CdiBeanContainerDelayedAccessImpl

extends AbstractCdiBeanContainer
Class Inheritance
Annotations
@SuppressWarnings:unused
Imports
jakarta.enterprise.inject.spi.BeanManager, org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer, .BeanLifecycleStrategy, .ContainedBeanImplementor, org.hibernate.resource.beans.spi.BeanInstanceProducer

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 BeanManager

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

beanManagerback to summary
private final BeanManager beanManager

Constructor Detail

CdiBeanContainerDelayedAccessImplback to summary
private CdiBeanContainerDelayedAccessImpl(BeanManager beanManager)

Method Detail

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 CdiBeanContainerDelayedAccessImpl.BeanImpl<B>

extends Object
implements ContainedBeanImplementor<B>
Class Inheritance
  • java.lang.Object
  • org.hibernate.resource.beans.container.internal.CdiBeanContainerDelayedAccessImpl.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
delegateBeanback to summary
private ContainedBeanImplementor<B> delegateBean
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 CdiBeanContainerDelayedAccessImpl.NamedBeanImpl<B>

extends Object
implements ContainedBeanImplementor<B>
Class Inheritance
  • java.lang.Object
  • org.hibernate.resource.beans.container.internal.CdiBeanContainerDelayedAccessImpl.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
delegateBeanback to summary
private ContainedBeanImplementor<B> delegateBean
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