public static class SyntheticBeanBuildItem.ExtendedBeanConfigurator extends BeanConfiguratorBase<SyntheticBeanBuildItem.ExtendedBeanConfigurator,Object>
| Modifier and Type | Field and Description |
|---|---|
(package private) io.quarkus.runtime.RuntimeValue<?> |
runtimeValue |
(package private) boolean |
staticInit |
(package private) Supplier<?> |
supplier |
alternativePriority, creatorConsumer, defaultBean, destroyerConsumer, 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.
|
org.jboss.jandex.DotName |
getImplClazz() |
Set<org.jboss.jandex.AnnotationInstance> |
getQualifiers() |
SyntheticBeanBuildItem.ExtendedBeanConfigurator |
runtimeValue(io.quarkus.runtime.RuntimeValue<?> runtimeValue) |
protected SyntheticBeanBuildItem.ExtendedBeanConfigurator |
self() |
SyntheticBeanBuildItem.ExtendedBeanConfigurator |
setRuntimeInit()
By default, synthetic beans are initialized during
ExecutionTime.STATIC_INIT. |
SyntheticBeanBuildItem.ExtendedBeanConfigurator |
supplier(Supplier<?> supplier) |
accept, addQualifier, addQualifier, addQualifier, addQualifier, addType, addType, addType, alternativePriority, cast, creator, creator, defaultBean, destroyer, destroyer, name, named, param, param, param, param, param, param, providerType, qualifiers, read, scope, scope, types, types, unremovableSupplier<?> supplier
io.quarkus.runtime.RuntimeValue<?> runtimeValue
boolean staticInit
ExtendedBeanConfigurator(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. It is possible to mark a
synthetic bean to be initialized during 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.
SyntheticBeansRuntimeInitBuildItempublic org.jboss.jandex.DotName getImplClazz()
public Set<org.jboss.jandex.AnnotationInstance> getQualifiers()
protected SyntheticBeanBuildItem.ExtendedBeanConfigurator self()
self in class BeanConfiguratorBase<SyntheticBeanBuildItem.ExtendedBeanConfigurator,Object>Copyright © 2020 JBoss by Red Hat. All rights reserved.