Uses of Interface
jakarta.enterprise.inject.Instance
-
Packages that use Instance Package Description jakarta.enterprise.inject jakarta.enterprise.inject.build.compatible.spi The build compatible extension SPI.jakarta.enterprise.inject.se jakarta.enterprise.inject.spi The portable extension integration SPI.jakarta.enterprise.inject.spi.configurator -
-
Uses of Instance in jakarta.enterprise.inject
Methods in jakarta.enterprise.inject that return Instance Modifier and Type Method Description <U extends T>
Instance<U>Instance. select(TypeLiteral<U> subtype, Annotation... qualifiers)
Obtains a childInstance
for the given required type and additional required qualifiers.Instance<T>
Instance. select(Annotation... qualifiers)
Obtains a childInstance
for the given additional required qualifiers.<U extends T>
Instance<U>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
Methods in jakarta.enterprise.inject.build.compatible.spi with parameters of type Instance Modifier and Type Method Description T
SyntheticBeanCreator. 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
Subinterfaces of Instance in jakarta.enterprise.inject.se Modifier and Type Interface Description interface
SeContainer
Provides access to the current container in Java SE. -
Uses of Instance in jakarta.enterprise.inject.spi
Classes in jakarta.enterprise.inject.spi that implement Instance Modifier and Type Class Description class
CDI<T>
Provides access to the current container.Methods in jakarta.enterprise.inject.spi that return Instance Modifier and Type Method Description Instance<Object>
BeanContainer. createInstance()
Obtains anInstance
object to access to beans instances. -
Uses of Instance in jakarta.enterprise.inject.spi.configurator
Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type Instance Modifier and Type Method Description BeanConfigurator<T>
BeanConfigurator. 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.
-