public abstract class AbstractCdiBeanSupplier<T> extends Object implements DisposableSupplier<T>
Supplier.get() method that
could just delegate to the existing _provide() method.| Constructor and Description |
|---|
AbstractCdiBeanSupplier(Class<T> rawType,
InjectionManager injectionManager,
jakarta.enterprise.inject.spi.BeanManager beanManager,
boolean cdiManaged)
Create new factory instance for given type and bean manager.
|
public AbstractCdiBeanSupplier(Class<T> rawType, InjectionManager injectionManager, jakarta.enterprise.inject.spi.BeanManager beanManager, boolean cdiManaged)
rawType - type of the components to provide.injectionManager - actual injection manager instance.beanManager - current bean manager to get references from.cdiManaged - set to true if the component should be managed by CDI.public void dispose(T instance)
dispose in interface DisposableSupplier<T>Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.