Package io.quarkus.arc.deployment
Class SyntheticBeanBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.arc.deployment.SyntheticBeanBuildItem
-
public final class SyntheticBeanBuildItem extends io.quarkus.builder.item.MultiBuildItem
Makes it possible to register a synthetic bean.Bean instances can be easily produced through a recorder and set via
SyntheticBeanBuildItem.ExtendedBeanConfigurator.supplier(Supplier)
andSyntheticBeanBuildItem.ExtendedBeanConfigurator.runtimeValue(RuntimeValue)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SyntheticBeanBuildItem.ExtendedBeanConfigurator
This construct is not thread-safe and should not be reused.
-
Constructor Summary
Constructors Constructor Description SyntheticBeanBuildItem(SyntheticBeanBuildItem.ExtendedBeanConfigurator configurator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) SyntheticBeanBuildItem.ExtendedBeanConfigurator
configurator()
static SyntheticBeanBuildItem.ExtendedBeanConfigurator
configure(Class<?> implClazz)
static SyntheticBeanBuildItem.ExtendedBeanConfigurator
configure(org.jboss.jandex.DotName implClazz)
(package private) boolean
hasRecorderInstance()
(package private) boolean
isStaticInit()
-
-
-
Constructor Detail
-
SyntheticBeanBuildItem
SyntheticBeanBuildItem(SyntheticBeanBuildItem.ExtendedBeanConfigurator configurator)
-
-
Method Detail
-
configure
public static SyntheticBeanBuildItem.ExtendedBeanConfigurator configure(Class<?> implClazz)
- Parameters:
implClazz
-- Returns:
- a new configurator instance
- See Also:
SyntheticBeanBuildItem.ExtendedBeanConfigurator.done()
-
configure
public static SyntheticBeanBuildItem.ExtendedBeanConfigurator configure(org.jboss.jandex.DotName implClazz)
- Parameters:
implClazz
-- Returns:
- a new configurator instance
- See Also:
SyntheticBeanBuildItem.ExtendedBeanConfigurator.done()
-
configurator
SyntheticBeanBuildItem.ExtendedBeanConfigurator configurator()
-
isStaticInit
boolean isStaticInit()
-
hasRecorderInstance
boolean hasRecorderInstance()
-
-