Uses of Interface
jakarta.enterprise.inject.Instance
Package
Description
The build compatible extension SPI.
The portable extension integration SPI.
-
Uses of Instance in jakarta.enterprise.inject
Modifier and TypeMethodDescriptionInstance.select
(TypeLiteral<U> subtype, Annotation... qualifiers) Obtains a childInstance
for the given required type and additional required qualifiers.Instance.select
(Annotation... qualifiers) Obtains a childInstance
for the given additional required qualifiers.Instance.select
(Class<U> subtype, Annotation... qualifiers) Obtains a childInstance
for the given required type and additional required qualifiers. -
Uses of Instance in jakarta.enterprise.inject.build.compatible.spi
Modifier and TypeMethodDescriptionSyntheticBeanCreator.create
(Instance<Object> lookup, Parameters params) Creates an instance of the synthetic bean.void
SyntheticBeanDisposer.dispose
(T instance, Instance<Object> lookup, Parameters params) Destroys an instance of the synthetic bean. -
Uses of Instance in jakarta.enterprise.inject.se
Modifier and TypeInterfaceDescriptioninterface
Provides access to the current container in Java SE. -
Uses of Instance in jakarta.enterprise.inject.spi
Modifier and TypeMethodDescriptionBeanContainer.createInstance()
Obtains anInstance
object to access to beans instances. -
Uses of Instance in jakarta.enterprise.inject.spi.configurator
Modifier and TypeMethodDescriptionBeanConfigurator.disposeWith
(BiConsumer<T, Instance<Object>> callback) Set a callback to destroy a bean instance.<U extends T>
BeanConfigurator<U> BeanConfigurator.produceWith
(Function<Instance<Object>, U> callback) Set a callback to create a bean instance.