public static class SyntheticBeanBuildItem.ExtendedBeanConfigurator extends BeanConfiguratorBase<SyntheticBeanBuildItem.ExtendedBeanConfigurator,Object>
alternativePriority, creatorConsumer, defaultBean, destroyerConsumer, forceApplicationClass, implClazz, name, params, providerType, qualifiers, removable, scope, types| Constructor and Description |
|---|
ExtendedBeanConfigurator(org.jboss.jandex.DotName implClazz) |
| Modifier and Type | Method and Description |
|---|---|
SyntheticBeanBuildItem |
done()
Finish the configurator.
|
(package private) org.jboss.jandex.DotName |
getImplClazz() |
(package private) Set<org.jboss.jandex.AnnotationInstance> |
getQualifiers() |
(package private) io.quarkus.runtime.RuntimeValue<?> |
getRuntimeValue() |
(package private) Supplier<?> |
getSupplier() |
SyntheticBeanBuildItem.ExtendedBeanConfigurator |
runtimeValue(io.quarkus.runtime.RuntimeValue<?> runtimeValue) |
protected SyntheticBeanBuildItem.ExtendedBeanConfigurator |
self() |
SyntheticBeanBuildItem.ExtendedBeanConfigurator |
setRuntimeInit()
A synthetic bean whose instance is produced through a recorder is initialized during
ExecutionTime.STATIC_INIT by default. |
SyntheticBeanBuildItem.ExtendedBeanConfigurator |
supplier(Supplier<?> supplier) |
accept, addQualifier, addQualifier, addQualifier, addQualifier, addType, addType, addType, alternativePriority, cast, creator, creator, defaultBean, destroyer, destroyer, forceApplicationClass, name, named, param, param, param, param, param, param, providerType, qualifiers, read, scope, scope, types, types, unremovableExtendedBeanConfigurator(org.jboss.jandex.DotName implClazz)
public SyntheticBeanBuildItem done()
public SyntheticBeanBuildItem.ExtendedBeanConfigurator supplier(Supplier<?> supplier)
public SyntheticBeanBuildItem.ExtendedBeanConfigurator runtimeValue(io.quarkus.runtime.RuntimeValue<?> runtimeValue)
public SyntheticBeanBuildItem.ExtendedBeanConfigurator setRuntimeInit()
ExecutionTime.STATIC_INIT by default.
It is possible to change this behavior and initialize the bean during the ExecutionTime.RUNTIME_INIT.
However, in such case a client that attempts to obtain such bean during ExecutionTime.STATIC_INIT or before
runtime-init synthetic beans are
initialized will receive an exception.
ExecutionTime.RUNTIME_INIT build steps that access a runtime-init synthetic bean should consume the
SyntheticBeansRuntimeInitBuildItem.
SyntheticBeansRuntimeInitBuildItemorg.jboss.jandex.DotName getImplClazz()
Set<org.jboss.jandex.AnnotationInstance> getQualifiers()
protected SyntheticBeanBuildItem.ExtendedBeanConfigurator self()
self in class BeanConfiguratorBase<SyntheticBeanBuildItem.ExtendedBeanConfigurator,Object>Supplier<?> getSupplier()
io.quarkus.runtime.RuntimeValue<?> getRuntimeValue()
Copyright © 2021 JBoss by Red Hat. All rights reserved.